Re: gdbserver and "terminated with signal SIGTRAP"

Daniel Jacobowitz
2007-11-30T15:51:16Z

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