This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: which kind of memory does "x" command look into?
- From: Daniel Jacobowitz <drow at false dot org>
- To: chen free <dits365 at gmail dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Wed, 30 Aug 2006 08:39:51 -0400
- Subject: Re: which kind of memory does "x" command look into?
- References: <e55f4e5f0608292255s7f8ae3dej62ef1180c11b348e@mail.gmail.com>
On Wed, Aug 30, 2006 at 01:55:31PM +0800, chen free wrote:
> 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.
GDB has no way to deal with physical memory at all. You're looking at
the file contents.
--
Daniel Jacobowitz
CodeSourcery