Mail Archives: djgpp/1997/02/18/22:37:31
Hello.
I am trying to debug a program with GDB.
I have never used a command line debugger like this
before, and find it rather difficult.
Here is my problem.
I have compiled and linked my program with -pg, and then
run gdb bspbuild. (that is the name of my program)
when gdb starts up I type...
(gdb) set args test.mp1
(gdb) file bspbuild --( I think this is how you load symbol data.
Correct me if I'm wrong.)
(gdb) break list_driver::list_driver(list_driver *) --(the name of one
of my functions)
(gdb) run
this takes me to my break point, and I now try to check which local
variables are used by this function.
(gdb) info locals
now it tells me that there is no symbol table data available. I thought
I loaded it with file bspbuild?
What is wrong?
TIA
-Fwec
P.S. Is there a high level debugger like GDB that has a full screen
interface like FSDB?
- Raw text -