This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: generic error with a statically linked multithreaded program
On Fri, 06 Apr 2007 18:38:44 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
> > > Is it http://sources.redhat.com/bugzilla/show_bug.cgi?id=2696, right?
> > >
> > > If so, the gdb patch mentioned in it is already merged in gdb 6.6?
> >
> > I think so, but I don't remember for sure.
>
> I tried the libc patch on MIPS and it works fine with gdbserver.
>
> But with MIPS native gdb, I got a little bit different error message:
> thread_get_info_callback: cannot get thread info: generic error
>
> Do you have any thoughts on this error?
...
> thread_get_info_callback: cannot get thread info: generic error
I have tracked down this error and I found that your last patch titled
"RFC: Handle early debugging in NPTL applications"
(http://sourceware.org/ml/gdb-patches/2006-02/msg00496.html) is not
merged yet. With this patch applied, I can debug NPTL static program
with native gdb.
---
Atsushi Nemoto