gdb/2248: Threads terminated by SIGTRAP in gdbserver (powerpc)

Gregoire Banderet
Tue Apr 10 14:38:00 GMT 2007

The following reply was made to PR gdb/2248; it has been noted by GNATS.

From: Gregoire Banderet <>
Subject: Re: gdb/2248: Threads terminated by SIGTRAP in gdbserver (powerpc)
Date: Tue, 10 Apr 2007 16:36:54 +0200

 Daniel Jacobowitz wrote:
 > On Tue, Apr 10, 2007 at 02:18:01PM -0000, Gregoire Banderet wrote:
 >>  I tried both: "set solib-absolute-prefix" and "--with-sysroot" at 
 >>  compile time. I still have the SIGTRAP and gdb still sees only the main 
 >>  thread.
 >>  Do I need a debug version of pthread lib in my sysroot ?
 > and should have symbols.  They don't need
 > debugging information, but they shouldn't be completely stripped
 > (strip -g is OK).  The copy on the target can be stripped.
 OK, problem solved. I did copy an unstripped version of in 
 my sysroot and everything's fine now.
 Thanks a lot for your help and sorry for opening a bug in the database.

More information about the Gdb-prs mailing list