From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Shaheed <srhaque@theiet.org>
Cc: gdb@sourceware.org
Subject: Re: 64 bit convenience variables?
Date: Thu, 13 Oct 2011 21:27:00 -0000 [thread overview]
Message-ID: <20111013212720.GA11779@host1.jankratochvil.net> (raw)
In-Reply-To: <5215280.X7AKtnCpMn@shahhaqu-w500.cisco.com>
On Thu, 13 Oct 2011 23:21:17 +0200, Shaheed wrote:
> shahhaqu@shahhaqu-w500:~$ gdb
[...]
> This GDB was configured as "x86_64-linux-gnu".
[...]
> (gdb) set $foo=(void *)0x8000800080008000
> warning: value truncated
If you type:
(gdb) show architecture
The target architecture is set automatically (currently i386)
This is because you have no file loaded to set GDB architecture according to
it. You can set it manually:
(gdb) set architecture i386:x86-64
GDB can support many architectures although I agree it is more a bug the
primary target is not the default.
Regards,
Jan
prev parent reply other threads:[~2011-10-13 21:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 21:21 Shaheed
2011-10-13 21:27 ` Jan Kratochvil [this message]
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=20111013212720.GA11779@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=srhaque@theiet.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