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]

Re: examine memory coomand


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


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