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, Jul 13, 2007 at 10:15:06AM +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?

No, it usually is not dumped.  There's nothing GDB can do about that.

Some operating systems have configuration options to control what is
dumped.

-- 
Daniel Jacobowitz
CodeSourcery


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