From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5057 invoked by alias); 7 Jun 2008 06:30:29 -0000 Received: (qmail 5048 invoked by uid 22791); 7 Jun 2008 06:30:28 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout1.012.net.il (HELO mtaout1.012.net.il) (84.95.2.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 07 Jun 2008 06:30:09 +0000 Received: from HOME-C4E4A596F7 ([80.230.28.131]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K2200M4NYQ2LO70@i-mtaout1.012.net.il> for gdb@sourceware.org; Sat, 07 Jun 2008 09:44:27 +0300 (IDT) Date: Sat, 07 Jun 2008 06:30:00 -0000 From: Eli Zaretskii Subject: Re: How can I get a memory map out of a core file? In-reply-to: <1212789259.3601.426.camel@localhost.localdomain> X-012-Sender: halo1@inter.net.il To: Michael Snyder Cc: bruce.korb@gmail.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: Content-transfer-encoding: 7BIT References: <668c430c0806061345m3c480d95nac5d19b02998715c@mail.gmail.com> <1212789259.3601.426.camel@localhost.localdomain> 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: 2008-06/txt/msg00045.txt.bz2 > From: Michael Snyder > Cc: gdb@sourceware.org > Date: Fri, 06 Jun 2008 14:54:19 -0700 > > On Fri, 2008-06-06 at 13:45 -0700, Bruce Korb wrote: > > Hi, > > > > "jmap" looked really nice, but that is Solaris only. > > "pmap" is almost what I want, but there's no /proc/pid directory > > for my core dump any more. > > If there is some GDB command I can use, I haven't found it. > > I haven't seen any obvious way to emulate it either. > > Surely someone, somewhere has solved this problem. > > Anyone know where the solution is hiding? :) > > Thank you. Regards - Bruce > > Try "help info proc mappings". It may be the closest we've got > to what you want. How can this help in a core file? The process is already dead, so it's not in /proc, right? Or am I missing something?