From: Daniel Jacobowitz <drow@false.org>
To: Michael Snyder <msnyder@vmware.com>
Cc: gdb@sourceware.org
Subject: Re: Is this a bug? "target remote" doesn't follow "set architecture"
Date: Mon, 21 Dec 2009 18:22:00 -0000 [thread overview]
Message-ID: <20091221182227.GA20678@caradoc.them.org> (raw)
In-Reply-To: <4B2FB8CE.7020001@vmware.com>
On Mon, Dec 21, 2009 at 10:05:02AM -0800, Michael Snyder wrote:
> Daniel Jacobowitz wrote:
> >On Sat, Dec 19, 2009 at 08:24:12AM -0800, Michael Snyder wrote:
> >>I built a gdb with target=i686-linux. I also want to use it
> >>for remote debugging.
> >
> >Did you configure GDB such that the x86-64 support was built too?
> >It isn't by default.
>
> Configure.tgt seems to suggest that it is.
if test "x$enable_64_bit_bfd" = "xyes"; then
# Target: GNU/Linux x86-64
gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o
${gdb_target_obs}"
fi
Is --enable-64-bit-bfd set?
> And "set archi" offers it as a choice.
That's the BFD architecture list, GDB doesn't have its own.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-12-21 18:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 16:26 Michael Snyder
2009-12-21 4:06 ` Daniel Jacobowitz
2009-12-21 18:08 ` Michael Snyder
2009-12-21 18:22 ` Daniel Jacobowitz [this message]
2010-01-05 7:07 ` Hui Zhu
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=20091221182227.GA20678@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=msnyder@vmware.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