whitcomb@IC.BERKELEY.EDU (Gregg Whitcomb) (01/10/90)
machine: vax/ultrix
gdb: 3.4
gcc: 1.36.91
g++: 1.36.2
example:
ic% GDB 3.4, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /net/vivaldi/users/whitcomb/test/g++/a.out...done.
Type "help" for a list of commands.
(gdb) l
Reading in symbols for hello.cc...done.
1 #include <stdio.h>
2 main()
3 {
4 printf("hello, world!\n");
5 }
(gdb) break 4
Breakpoint 1 at 0x68: file hello.cc, line 4.
(gdb) run
Starting program: /net/vivaldi/users/whitcomb/test/g++/a.out
Program received signal 5, Trace/BPT trap
0xffffffff in ?? (Error reading memory address 0xffffffff: I/O error (5).
(gdb) quit
-------
-Gregg (whitcomb@ic.berkeley.edu)