From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31776 invoked by alias); 21 Oct 2004 17:33:37 -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 31767 invoked from network); 21 Oct 2004 17:33:36 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 21 Oct 2004 17:33:36 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 0E8BD47D9C; Thu, 21 Oct 2004 10:33:36 -0700 (PDT) Date: Thu, 21 Oct 2004 17:33:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: gdbserver build broken on amd64-linux Message-ID: <20041021173336.GW21300@gnat.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041021134946.GB13111@nevyn.them.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-10/txt/msg00362.txt.bz2 > > 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? -- Joel