This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
which kind of memory does "x" command look into?
- From: "chen free" <dits365 at gmail dot com>
- To: gdb <gdb at sourceware dot org>
- Date: Wed, 30 Aug 2006 13:55:31 +0800
- Subject: which kind of memory does "x" command look into?
Hi, All
As you know, in GDB there is a command "x" for the purpose of looking
in to the contents of memory.
I did this:
$ GDB /boot/vmlinux
..............
..............
(GDB) x/10x 0xc0001234
(GDB) ........
........
As far as I know, "/boot/vmlinux" is an uncompressed kernel image that
is in ELF format, right? So I guess the "x/10x 0xc0001234" command
just shows the kernel memory content which is provided by vmlinux
file, not in real physical memory.
Could any buddy confirm my guess?
Thanks in advance!
Regards,
Eric