examine memory coomand
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Aug 20 08:34:00 GMT 2012
On Mon, 20 Aug 2012 10:27:12 +0200, John Smith wrote:
> when gdb try to get memory data from "examine " command , is it
> get data from pythical memory with a "mov" operation or from
> memory map file?
Assuming GNU/Linux OS here.
It is read by PTRACE_PEEKDATA or from /proc/PID/mem. It is virtual address
space of the process (not physical memory), as provided by kernel.
Jan
More information about the Gdb
mailing list