This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB and mmap
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Somr <SomrJ at seznam dot cz>
- Cc: gdb at sourceware dot org
- Date: Fri, 13 Jul 2007 07:44:45 -0400
- Subject: Re: GDB and mmap
- References: <26.140-15180-2028046551-1184314506@seznam.cz>
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