[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debugging C++ with GDB



On Sat, May 01, 1999 at 12:44:41PM -0500, Bob McElrath wrote:

> Make sure to compile your C++ program with -g, and don't strip(1) it before
> you use gdb on it...

It seems that -g doesn't do the job, you have to explicitly specify -ggdb.

Martin


Reply to: