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
|