[maemo-developers] [maemo-developers] Problem with GDB and threads...

From: Christian Henz christian.henz at c-lab.de
Date: Tue Jul 18 14:26:08 EEST 2006
On Friday 14 July 2006 08:37, Eero Tamminen wrote:
> Hi,
>
> > On the Nokia 770, the backtrace goes on forever and i have to kill gdb
>
> Have you compiled your binary:
> - without optimization (or used -no-omit-frame-pointer)
> - with -g
> - not stripped it
> ?
>
> If not, if you do that and try again, does the debugging work better?
>

I simply compiled with "-g" before, adding the "-no-omit-frame-pointer" 
directive did not help.

> If it still doesn't work, does it work if you install 'libc6-dbg'
> package and run your program, or GDB starting your program, with:
> 	LD_LIBRARY_PATH=/usr/lib/debug:$LD_LIBRARY_PATH gdb /path/app
> ?
>

I can't seem to find that package in the mistral repositories.


cheers,
Christian Henz

More information about the maemo-developers mailing list