From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8336 invoked by alias); 3 Apr 2007 01:23:03 -0000 Received: (qmail 8326 invoked by uid 22791); 3 Apr 2007 01:23:02 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Apr 2007 02:22:59 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 690934B267; Mon, 2 Apr 2007 20:22:57 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 3A4544B262; Mon, 2 Apr 2007 20:22:57 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HYXja-0000kX-C5; Mon, 02 Apr 2007 21:22:54 -0400 Date: Tue, 03 Apr 2007 01:23:00 -0000 From: Daniel Jacobowitz To: "Sri Dharmasanam (sdharmas)" Cc: Michael Snyder , gdb@sourceware.org Subject: Re: crosstool gdb6.6 from i686 to x86_64 Message-ID: <20070403012254.GA2857@caradoc.them.org> Mail-Followup-To: "Sri Dharmasanam (sdharmas)" , Michael Snyder , gdb@sourceware.org References: <0D48315C0192E64BA0767F616E5A3B6601CF9425@xmb-sjc-236.amer.cisco.com> <1175552753.9195.30.camel@svmsnyderlnx.palmsource.com> <0D48315C0192E64BA0767F616E5A3B6601CF9489@xmb-sjc-236.amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D48315C0192E64BA0767F616E5A3B6601CF9489@xmb-sjc-236.amer.cisco.com> User-Agent: Mutt/1.5.14+cvs20070313 (2007-03-13) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00017.txt.bz2 On Mon, Apr 02, 2007 at 04:15:15PM -0700, Sri Dharmasanam (sdharmas) wrote: > Crosstool builds the cross-gdb client and the gdbserver together. In > this case, the host is a 32b machine and the target is 64b. > > The host: > > % x86_64-unknown-linux-gnu-gdb > GNU gdb 6.6 > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "--host=i686-pc-linux-gnu > --target=x86_64-unknown-linux-gnu". > (gdb) target remote target:12312 > Remote debugging using target:12312 > Remote register badly formatted: > T0506:0000000000000000;07:c0f4ffbf7f000000;10:806a55952a000000; Supply a file before you do this, and it will work. Without a file, x86_64 GDB defaults to i386. -- Daniel Jacobowitz CodeSourcery