This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdbserver and "terminated with signal SIGTRAP"
On Sat, Dec 01, 2007 at 12:00:04AM +0900, Atsushi Nemoto wrote:
> On Fri, 30 Nov 2007 09:47:38 -0500, Daniel Jacobowitz <drow@false.org> wrote:
> > Have you tried HEAD? The new code I've added since 6.7.1 for thread
> > creation might help.
>
> Yes. It seems work but still I cannot see exactly when/how.
>
> 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.
--
Daniel Jacobowitz
CodeSourcery