gdbserver and "terminated with signal SIGTRAP"

Daniel Jacobowitz drow@false.org
Fri Nov 30 15:51:00 GMT 2007


On Sat, Dec 01, 2007 at 12:38:11AM +0900, Atsushi Nemoto wrote:
> On Fri, 30 Nov 2007 10:13:53 -0500, Daniel Jacobowitz <drow@false.org> wrote:
> > > http://sourceware.org/ml/gdb-patches/2007-10/msg00547.html ("[commit]
> > > gdbserver support for debugging without libthread_db") is the commit?
> > 
> > Yes.  We now attach to new threads based on kernel events, and we no
> > longer track things based on the pthread_t ID.  Those two together
> > eliminate this race.
> 
> Thank you.  I'll look at the patch deeper.  Do you think it can be
> backported to gdb 6.6?  Could you give me any suggestions?

I'd recommend just using the newer gdbserver wholesale.  It should
work OK.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list