From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23462 invoked by alias); 3 Apr 2007 01:42:25 -0000 Received: (qmail 23353 invoked by uid 22791); 3 Apr 2007 01:42:24 -0000 X-Spam-Check-By: sourceware.org Received: from sj-iport-4.cisco.com (HELO sj-iport-4.cisco.com) (171.68.10.86) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Apr 2007 02:42:21 +0100 Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-4.cisco.com with ESMTP; 02 Apr 2007 18:42:18 -0700 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l331gI89002237; Mon, 2 Apr 2007 18:42:18 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l331gAMH024803; Tue, 3 Apr 2007 01:42:18 GMT Received: from xmb-sjc-236.amer.cisco.com ([128.107.191.121]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Apr 2007 18:42:11 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: crosstool gdb6.6 from i686 to x86_64 Date: Tue, 03 Apr 2007 01:42:00 -0000 Message-ID: <0D48315C0192E64BA0767F616E5A3B6601CF9534@xmb-sjc-236.amer.cisco.com> In-Reply-To: <20070403012254.GA2857@caradoc.them.org> References: <0D48315C0192E64BA0767F616E5A3B6601CF9425@xmb-sjc-236.amer.cisco.com> <1175552753.9195.30.camel@svmsnyderlnx.palmsource.com> <0D48315C0192E64BA0767F616E5A3B6601CF9489@xmb-sjc-236.amer.cisco.com> <20070403012254.GA2857@caradoc.them.org> From: "Sri Dharmasanam \(sdharmas\)" To: "Daniel Jacobowitz" Cc: "Michael Snyder" , Authentication-Results: sj-dkim-3; header.From=sdharmas@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 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/msg00018.txt.bz2 That was it. Thanks; saved me from burning more time on this.=20 > -----Original Message----- > From: Daniel Jacobowitz [mailto:drow@false.org]=20 > Sent: Monday, April 02, 2007 6:23 PM > To: Sri Dharmasanam (sdharmas) > Cc: Michael Snyder; gdb@sourceware.org > Subject: Re: crosstool gdb6.6 from i686 to x86_64 >=20 > On Mon, Apr 02, 2007 at 04:15:15PM -0700, Sri Dharmasanam=20 > (sdharmas) wrote: > > Crosstool builds the cross-gdb client and the gdbserver=20 > together. In=20 > > this case, the host is a 32b machine and the target is 64b. > >=20 > > The host: > >=20 > > % 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=20 > License, and=20 > > you are welcome to change it and/or distribute copies of it under=20 > > certain conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for=20 > > details. > > This GDB was configured as "--host=3Di686-pc-linux-gnu=20 > > --target=3Dx86_64-unknown-linux-gnu". > > (gdb) target remote target:12312 > > Remote debugging using target:12312 > > Remote register badly formatted: > > T0506:0000000000000000;07:c0f4ffbf7f000000;10:806a55952a000000; >=20 > Supply a file before you do this, and it will work. Without a file, > x86_64 GDB defaults to i386. >=20 > -- > Daniel Jacobowitz > CodeSourcery >=20