This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2248: Threads terminated by SIGTRAP in gdbserver (powerpc)
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 10 Apr 2007 14:28:02 -0000
- Subject: Re: gdb/2248: Threads terminated by SIGTRAP in gdbserver (powerpc)
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR gdb/2248; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: Gregoire Banderet <Gregoire.Banderet@ge.com>
Cc: gdb-gnats@sourceware.org
Subject: Re: gdb/2248: Threads terminated by SIGTRAP in gdbserver (powerpc)
Date: Tue, 10 Apr 2007 10:22:11 -0400
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 ?
ld.so and libpthread.so 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.
The first thing to check is that "info shared" worked.
--
Daniel Jacobowitz
CodeSourcery