Re: Debugging C++ with GDB
On Sat, 1 May 1999, Martin Lucina wrote:
> Has anyone here successfuly used gdb to debug C++ code? On my AS200 running
> slink, gdb can't seem to find any useful symbols in the executable and then
> keeps talking about hitting heuristic-fence-post...
Make sure to compile your C++ program with -g, and don't strip(1) it before
you use gdb on it...
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin
Bob McElrath (email@example.com) Univ. of Wisconsin at Madison