Re: OT: GDB doesn't list anything when debuging
Harshwardhan Nagaonkar <firstname.lastname@example.org> wrote:
> > I'm using Debian/Sarge. When I debug an application and it stops at a
> > breakpoint, I could just use "list" or "list 30" but now it just shows
> > 1 in <<C++namespaces>>
> > What do I have to do so GDB starts showing the source again.
> This will happen if the program you are debugging is not compiled with
> debugging symbols. Use a "-g" option in front of your g++/gcc compiler
> command to enable debugging symbols.
I lately regouped my Makefile so the "-g" got lost. Thanks a lot.
See a huge pile of work at "http://wyodesktop.sourceforge.net/"