[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: 64 bit convenience variables?
From: Jan Kratochvil <jan.kratochvil () redhat ! com>
Date: 2011-10-13 21:27:20
Message-ID: 20111013212720.GA11779 () host1 ! jankratochvil ! net
[Download RAW message or body]
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 in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic