From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9294 invoked by alias); 23 Nov 2005 01:28:37 -0000 Received: (qmail 9287 invoked by uid 22791); 23 Nov 2005 01:28:37 -0000 X-Spam-Check-By: sourceware.org Received: from web32901.mail.mud.yahoo.com (HELO web32901.mail.mud.yahoo.com) (68.142.206.48) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 23 Nov 2005 01:28:35 +0000 Received: (qmail 35863 invoked by uid 60001); 23 Nov 2005 01:28:34 -0000 Message-ID: <20051123012834.35861.qmail@web32901.mail.mud.yahoo.com> Received: from [203.193.55.70] by web32901.mail.mud.yahoo.com via HTTP; Tue, 22 Nov 2005 17:28:33 PST Date: Wed, 23 Nov 2005 01:30:00 -0000 From: Peter Choi Subject: Re: multi-thread remote debugging i386-linux target (NEED HELP) To: Daniel Jacobowitz Cc: gdb@sources.redhat.com In-Reply-To: <20051122135523.GA15501@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00510.txt.bz2 Hi, 1. Yes, the host and target runs exactly the same libraries 2. How can I capture the debugger output to a file??? Please advise. Thank you for your attention. Regards. Peter Choi --- Daniel Jacobowitz wrote: > On Mon, Nov 21, 2005 at 11:23:18PM -0800, Peter Choi > wrote: > > Hi, > > > > 1. On my host, library files of my i386-linux > target > > residues under directory /lib so well. So, need to > add > > prefix by "solib-absolute-prefix". > > Are the host and target running exactly the same > libraries? > > > 2. If I use "symb test" to load symbols from my > test > > program on my host, I can then break in the main > > thread (But I can't see all other threads > created). > > > > However, If I use "file test" to load my test > > program on my host, I CANNOT break at all. It > simply > > halt at somewhere, not sending/receiving any debug > > packet at all. After all, it cannot stop at the > end of > > my test program too. > > > > Please advise what can possibly go wrong. Thank > you > > for your attention. > > Please post a session transcript, including "set > debug remote 1", so > that we can see what happened. > > > -- > Daniel Jacobowitz > CodeSourcery, LLC > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com