Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "Sri Dharmasanam (sdharmas)" <sdharmas@cisco.com>
Cc: Michael Snyder <Michael.Snyder@access-company.com>, 	gdb@sourceware.org
Subject: Re: crosstool gdb6.6 from i686 to x86_64
Date: Tue, 03 Apr 2007 01:23:00 -0000	[thread overview]
Message-ID: <20070403012254.GA2857@caradoc.them.org> (raw)
In-Reply-To: <0D48315C0192E64BA0767F616E5A3B6601CF9489@xmb-sjc-236.amer.cisco.com>

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


  reply	other threads:[~2007-04-03  1:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 22:04 Sri Dharmasanam (sdharmas)
2007-04-02 22:26 ` Michael Snyder
2007-04-02 23:15   ` Sri Dharmasanam (sdharmas)
2007-04-03  1:23     ` Daniel Jacobowitz [this message]
2007-04-03  1:42       ` Sri Dharmasanam (sdharmas)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070403012254.GA2857@caradoc.them.org \
    --to=drow@false.org \
    --cc=Michael.Snyder@access-company.com \
    --cc=gdb@sourceware.org \
    --cc=sdharmas@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox