From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7825 invoked by alias); 13 Jul 2007 11:44:51 -0000 Received: (qmail 7815 invoked by uid 22791); 13 Jul 2007 11:44:51 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Jul 2007 11:44:48 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B456A98299; Fri, 13 Jul 2007 11:44:47 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 91E9E98296; Fri, 13 Jul 2007 11:44:47 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I9JZl-0000GO-Ku; Fri, 13 Jul 2007 07:44:45 -0400 Date: Fri, 13 Jul 2007 11:44:00 -0000 From: Daniel Jacobowitz To: Jan Somr Cc: gdb@sourceware.org Subject: Re: GDB and mmap Message-ID: <20070713114445.GA970@caradoc.them.org> Mail-Followup-To: Jan Somr , gdb@sourceware.org References: <26.140-15180-2028046551-1184314506@seznam.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26.140-15180-2028046551-1184314506@seznam.cz> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00117.txt.bz2 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