From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 323 invoked by alias); 18 Aug 2010 17:07:30 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 307 invoked by uid 22791); 18 Aug 2010 17:07:27 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 18 Aug 2010 17:07:00 -0000 From: Jan Kratochvil To: Oleg Nesterov Cc: Roland McGrath , archer@sourceware.org Subject: Re: Q: multiple inferiors, all-stop && vCont Message-ID: <20100818170716.GA15573@host1.dyn.jankratochvil.net> References: <20100716205147.GA26313@redhat.com> <20100721170400.GA30978@redhat.com> <20100721204203.D040C400B6@magilla.sf.frob.com> <20100723173134.GA29717@redhat.com> <20100726142759.GA17171@redhat.com> <20100803123940.GA16669@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100803123940.GA16669@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-12-10) X-SW-Source: 2010-q3/txt/msg00119.txt.bz2 On Tue, 03 Aug 2010 14:39:40 +0200, Jan Kratochvil wrote: > The LWP -> thread_t conversion could be done later from the client side only ^^^^^^^^^^^^^^^^^^^^ > using: > libthread_db (td_ta_map_lwp2thr(), td_thr_get_info(), > typeof (td_thrinfo_t->ti_tid) = thread_t) Why libthread_db is at gdbserver and not at gdb host: http://sourceware.org/bugzilla/show_bug.cgi?id=8210#c7 ------- Additional Comment #7 From Pedro Alves 2010-08-18 12:37 ------- # Oh, dear me, I almost forgot: continuing on the comment above, supporting # thread_db for cross debugging would also mean that we'd need to have available # a libthread_db.so that is built for the host architecture so that GDB can load # it, but that understands the _target_ architecture's glibc. (This is also the # reason why we have gdbserver itself load libthread_db, not gdb, when remote # debugging). So, I'm definitely closing this harder. :-) Regards, Jan