From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28586 invoked by alias); 21 Nov 2005 05:13:48 -0000 Received: (qmail 28575 invoked by uid 22791); 21 Nov 2005 05:13:48 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 21 Nov 2005 05:13:47 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Ee3zh-0003Dz-HM; Mon, 21 Nov 2005 00:13:33 -0500 Date: Mon, 21 Nov 2005 05:13:00 -0000 From: Daniel Jacobowitz To: Peter Choi Cc: gdb@sources.redhat.com Subject: Re: multi-thread remote debugging i386-linux target (NEED HELP) Message-ID: <20051121051333.GA12327@nevyn.them.org> Mail-Followup-To: Peter Choi , gdb@sources.redhat.com References: <20051121050740.70430.qmail@web32902.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051121050740.70430.qmail@web32902.mail.mud.yahoo.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00439.txt.bz2 On Sun, Nov 20, 2005 at 09:07:40PM -0800, Peter Choi wrote: > But... > 2. after breaking in the middle of my test program, I > examine the /proc/PID/maps: You're looking at the map of your program. libthread_db is in the address space of gdbserver. > 3. I has tried "set debug remote 1" to examine the > remote protocol packets, but have no idea how shall > the expected packet look like?? > > Please advise. Thank you for your attention. I obviously need to write a troubleshooting guide for this. I feel like I've walked a half-dozen people through it in the last two months, which is a sure sign the documentation needs to be improved. Does any of this help? http://sourceware.org/ml/gdb/2005-11/msg00366.html -- Daniel Jacobowitz CodeSourcery, LLC