Re: OT: GDB doesn't list anything when debuging
Harshwardhan Nagaonkar <firstname.lastname@example.org> wrote:
> Otto Wyss 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>>
> 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.
g++ -c `$(WXCONFIG) --cxxflags` `gtk-config --cflags` -o $@ $<
See a huge pile of work at "http://wyodesktop.sourceforge.net/"