Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: gdb@sourceware.org
Subject: Is this a bug?  "target remote" doesn't follow "set architecture"
Date: Sat, 19 Dec 2009 16:26:00 -0000	[thread overview]
Message-ID: <4B2CFE2C.3040105@vmware.com> (raw)

I built a gdb with target=i686-linux.  I also want to use it
for remote debugging.

I was surprised to find that, even though I told it to
"set architecture i386:x86-64", both before and after
"target remote", it still tried to interpret the "g"
regs packet as 32 bit regs, and to display the 32 bit
reg set for "info reg".

Am I wrong to expect this to work?


             reply	other threads:[~2009-12-19 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19 16:26 Michael Snyder [this message]
2009-12-21  4:06 ` Daniel Jacobowitz
2009-12-21 18:08   ` Michael Snyder
2009-12-21 18:22     ` Daniel Jacobowitz
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=4B2CFE2C.3040105@vmware.com \
    --to=msnyder@vmware.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