GDB and mmap

Daniel Jacobowitz drow@false.org
Fri Jul 13 11:44:00 GMT 2007


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



More information about the Gdb mailing list