From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30715 invoked by alias); 18 Mar 2004 23:22:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30706 invoked from network); 18 Mar 2004 23:22:06 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 18 Mar 2004 23:22:06 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B46px-0000OT-Ho; Thu, 18 Mar 2004 18:22:05 -0500 Date: Thu, 18 Mar 2004 23:22:00 -0000 From: Daniel Jacobowitz To: Robert Trask Cc: gdb@sources.redhat.com Subject: Re: remote debug broken? Message-ID: <20040318232205.GA1413@nevyn.them.org> Mail-Followup-To: Robert Trask , gdb@sources.redhat.com References: <02B1C56408AC9140BAE3395894D2DB3C0BA8B2@nt-sjca-0741.sj.broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02B1C56408AC9140BAE3395894D2DB3C0BA8B2@nt-sjca-0741.sj.broadcom.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00178.txt.bz2 On Thu, Mar 18, 2004 at 02:13:55PM -0800, Robert Trask wrote: > Hello, > I want to use the remote debug feature on gdb wherein I have a > [superior] debugger running on a host system (Linux I386 pc) and an > [inferior] debugger running on the target (embedded Linux on MIPS). I > have tried this in gdb v5.3 and v6.0, the same behavior results. > > I built the superior debugger in the usual way: > ./configure // build for native operation That's your problem. To debug a MIPS target you need a MIPS debugger: ./configure --target=mips-linux (or mipsel-linux) You should probably also look at the documentation for --with-sysroot (in 6.0) or for "set solib-absolute-prefix". If there's anywhere in the documentation that you looked before doing this, please let us know so we can clarify it. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer