From: Daniel Jacobowitz <drow@false.org>
To: Cai Qian <caiqian@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdbserver with X86_64
Date: Fri, 01 Sep 2006 12:51:00 -0000 [thread overview]
Message-ID: <20060901125144.GA7378@nevyn.them.org> (raw)
In-Reply-To: <a96350810609010544u62a34203j30f24d70a143dddf@mail.gmail.com>
On Fri, Sep 01, 2006 at 01:44:06PM +0100, Cai Qian wrote:
> 3) # Connect to gdbserver locally.
> gdb
> ...
> "This GDB was configured as x86_64-linux-gun"
> (gdb) target remote localhost:22222
You need to give GDB a binary file before you connect. Otherwise,
it is defaulting to 32-bit registers.
You should always do this, on every platform.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-09-01 12:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 12:44 Cai Qian
2006-09-01 12:51 ` Daniel Jacobowitz [this message]
2006-09-01 13:31 ` Cai Qian
2006-09-01 14:13 ` Daniel Jacobowitz
2006-09-01 14:27 ` Andrew STUBBS
2006-09-01 21:01 ` Michael Snyder
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=20060901125144.GA7378@nevyn.them.org \
--to=drow@false.org \
--cc=caiqian@gmail.com \
--cc=gdb@sourceware.org \
/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