From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1610 invoked by alias); 21 Oct 2004 17:36:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1426 invoked from network); 21 Oct 2004 17:36:47 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Oct 2004 17:36:47 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CKgrm-0002pR-QA; Thu, 21 Oct 2004 13:36:46 -0400 Date: Thu, 21 Oct 2004 17:36:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: gdbserver build broken on amd64-linux Message-ID: <20041021173645.GA7716@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20041020053216.GB3527@gnat.com> <20041020142645.GA24010@nevyn.them.org> <20041020152441.GD3527@gnat.com> <200410201547.i9KFl8i6022712@elgar.sibelius.xs4all.nl> <20041020155316.GA17828@nevyn.them.org> <20041021041513.GR21300@gnat.com> <20041021134946.GB13111@nevyn.them.org> <20041021173336.GW21300@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041021173336.GW21300@gnat.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00363.txt.bz2 On Thu, Oct 21, 2004 at 10:33:36AM -0700, Joel Brobecker wrote: > > > I tried it, I had a failure: > > > > > > (gdb) target remote localhost:2345 > > > Remote debugging using localhost:2345 > > > Couldn't establish connection to remote target > > > Remote register badly formatted: T0506:0000000000000000;07:c0f1ffbf7f000000;10:2 > > > 06f55952a000000; > > > here: 0000000;07:c0f1ffbf7f000000;10:206f55952a000000; > > > > > > Not sure why there seems to be discrepancy in the protocol... > > > > The host GDB is configured for amd64 rather than i386, right? And > > you've loaded a 64-bit binary using "file"? That error means GDB > > expected a 32-bit register. > > Both the host gdb and gdbserver come from the same build on the same > machine. So you're right, GDB was configured for amd64. But I don't > understand the reference to i386. Do you mean gdbserver on amd64 only > supports i386 binaries? Bad phrasing: I was just verifying that it was amd64 rather than i386, as a possible source of error. You'll have to work out why your host GDB expects only a 32-bit number. -- Daniel Jacobowitz