From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7280 invoked by alias); 21 Oct 2004 13:49:48 -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 7259 invoked from network); 21 Oct 2004 13:49:46 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Oct 2004 13:49:46 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CKdK6-0003Qr-IO; Thu, 21 Oct 2004 09:49:46 -0400 Date: Thu, 21 Oct 2004 13:49:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: gdbserver build broken on amd64-linux Message-ID: <20041021134946.GB13111@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041021041513.GR21300@gnat.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00359.txt.bz2 On Wed, Oct 20, 2004 at 09:15:13PM -0700, Joel Brobecker wrote: > > Joel, could you test the #ifndef version and check it in? > > I verified that the attached patch allows gdbserver to build, > and I also double-checked the values with the ones I have in > my prctl.h file. But I've never used gdbserver before, and when > 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. -- Daniel Jacobowitz