From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25895 invoked by alias); 30 Nov 2007 15:36:08 -0000 Received: (qmail 25887 invoked by uid 22791); 30 Nov 2007 15:36:07 -0000 X-Spam-Check-By: sourceware.org Received: from mba.ocn.ne.jp (HELO smtp.mba.ocn.ne.jp) (122.1.235.107) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 15:35:59 +0000 Received: from localhost (p6253-ipad302funabasi.chiba.ocn.ne.jp [123.217.144.253]) by smtp.mba.ocn.ne.jp (Postfix) with ESMTP id A1A5A8DB6; Sat, 1 Dec 2007 00:35:56 +0900 (JST) Date: Fri, 30 Nov 2007 15:36:00 -0000 Message-Id: <20071201.003811.37530758.anemo@mba.ocn.ne.jp> To: drow@false.org Cc: gdb@sourceware.org Subject: Re: gdbserver and "terminated with signal SIGTRAP" From: Atsushi Nemoto In-Reply-To: <20071130151353.GA6894@caradoc.them.org> References: <20071130144738.GB5548@caradoc.them.org> <20071201.000004.108739512.anemo@mba.ocn.ne.jp> <20071130151353.GA6894@caradoc.them.org> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 5.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00294.txt.bz2 On Fri, 30 Nov 2007 10:13:53 -0500, Daniel Jacobowitz 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? --- Atsushi Nemoto