This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86_64 gdb and objdump


I did try "x ..." at a bunch of memory locations and it outputs the
same error msg.

It seems like its not able to access any memory location in the core file.

Thanks.


On 7/2/07, Daniel Jacobowitz <drow@false.org> wrote:
On Mon, Jul 02, 2007 at 12:14:43PM -0700, Srinivas Murthy wrote:
> #0  0x00000000004004f5 in bar () at test.c:10
> 10      test.c: No such file or directory.
>        in test.c
> (gdb) bt
> #0  0x00000000004004f5 in bar () at test.c:10
> Cannot access memory at address 0x7fbfffee98

Does x/x 0x7fbfffee98 work?

> However, objdump shows that there is some valid content at the location:
>
> # objdump -D /tmp/core.test.30235 |less |grep 7fbfffee98
>  7fbfffe95f:   00 08                   add    %cl,(%rax)

That's not the same address...

--
Daniel Jacobowitz
CodeSourcery



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]