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]

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


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