From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2424 invoked by alias); 22 Nov 2005 13:55:31 -0000 Received: (qmail 2417 invoked by uid 22791); 22 Nov 2005 13:55:30 -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; Tue, 22 Nov 2005 13:55:28 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EeYcH-00042Z-B5; Tue, 22 Nov 2005 08:55:25 -0500 Date: Tue, 22 Nov 2005 13:55: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: <20051122135523.GA15501@nevyn.them.org> Mail-Followup-To: Peter Choi , gdb@sources.redhat.com References: <20051122045108.GA8373@nevyn.them.org> <20051122072318.86120.qmail@web32913.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051122072318.86120.qmail@web32913.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/msg00480.txt.bz2 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