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: GDB and mmap


On Fri, 2007-07-13 at 10:15 +0200, Jan Somr wrote:
> Hi all, please help. 
> I have an application which makes cores and uses mapped memory (mmap).  How can I access this memory in GDB? 
> When I try print it I get this message: "Cannot access memory at address xxxxxxxxxx". Is the shared memory dumped in the core?
> Thank you.

If the vm_area_struct of the mapped area have the vm_flags attribute set
to VM_IO, this area will not be dumped...


cya,


Rodrigo (BSDaemon).

-- 
Rodrigo Rubira Branco
Software Engineer 
Advanced Linux Response Team (ALRT) / Linux on Power Toolchain
IBM Linux Technology Center (IBM/LTC)
rrbranco@br.ibm.com

GPG KeyID: 1FCEDEA1

Attachment: signature.asc
Description: This is a digitally signed message part


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