This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Can't debug Threaded application
Does no one have answer to this problem?
Is GDB useless for threaded applications now?
Quoting jo@atsresults.com:
> Hello Everyone,
>
> I believe the problem I am having is the same a bug 848 and 1154.
>
>
> GDB 6.3 can't debug a threaded application. All I get is SIG32s instead of
> the
> [NEW THREAD...] message.
>
> And when I do a "(gdb)> i thread" I get nothing....
>
> Here are my specs:
> - Trustix
> - Linux cobra.q1labs.inc 2.4.30-3trsmp #1 Tue Jun 7 22:56:09 ADT 2005 i686
> unknown unknown GNU/Linux
> - /lib/libc-2.3.2.so
> GNU C Library stable release version 2.3.2, by Roland McGrath et al.
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 3.3.3.
> Compiled on a Linux 2.4.25-2tr system on 2004-09-29.
> Available extensions:
> GNU libio by Per Bothner
> crypt add-on version 2.1 by Michael Glad and others
> linuxthreads-0.10 by Xavier Leroy
> BIND-8.2.3-T5B
> libthread_db work sponsored by Alpha Processor Inc
> NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Report bugs using the `glibcbug' script to <bugs@gnu.org>.
>
> Is there any work arounds for this bug? I have tried this:
>
> (gdb)> set auto-solib-add 0
> (gdb)> handle S1G32 nostop noprint
>
> but this only stops the SIG32 from stopping gdb, I still can't properly
> debug
> the program.
>
> What do I have to do to get this to work?
>
> Thanks
>
> Jason
>
>
>
>
>
>