[Automake] How to get debug symbols in the executable?

2012-08-04 Thread Marcelo Zimbres
Hi, I am having some trouble to debug programs built from autotools. I am following the steps: $ ./configure CXXFLAGS="-g -O0" $ make $ libtool --mode=execute gdb --arg ./swat_find arg_list When I run the last line, I get the error message: Reading symbols from /home/marcelo/Public/swat/debug/.

Re: [Automake] How to get debug symbols in the executable?

2012-08-04 Thread Jeffrey Walton
On Sat, Aug 4, 2012 at 1:10 PM, Marcelo Zimbres wrote: > Hi, > > I am having some trouble to debug programs built from autotools. I am > following the steps: > > $ ./configure CXXFLAGS="-g -O0" > $ make > $ libtool --mode=execute gdb --arg ./swat_find arg_list > > When I run the last line, I get t