From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1915 invoked by alias); 9 Jun 2008 15:32:33 -0000 Received: (qmail 1907 invoked by uid 22791); 9 Jun 2008 15:32:32 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jun 2008 15:32:11 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id 03ACC17F517 for ; Mon, 9 Jun 2008 12:20:36 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m59FUn8Y1712186 for ; Mon, 9 Jun 2008 12:30:49 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m59FUhrY023702 for ; Mon, 9 Jun 2008 12:30:44 -0300 Received: from [9.8.3.207] ([9.8.3.207]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m59FUg7O023636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Jun 2008 12:30:43 -0300 Subject: Re: How can I get a memory map out of a core file? From: Luis Machado Reply-To: luisgpm@linux.vnet.ibm.com To: Daniel Jacobowitz Cc: Bruce Korb , Andreas Schwab , gdb@sourceware.org, Eli Zaretskii , Michael Snyder In-Reply-To: <20080609152340.GA21379@caradoc.them.org> References: <668c430c0806061345m3c480d95nac5d19b02998715c@mail.gmail.com> <484AD008.8845E46E@dessent.net> <200806071301.09679.Bruce.Korb@gmail.com> <1213023726.10042.78.camel@gargoyle> <20080609152340.GA21379@caradoc.them.org> Content-Type: text/plain Date: Mon, 09 Jun 2008 15:32:00 -0000 Message-Id: <1213025441.10042.79.camel@gargoyle> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit 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/msg00053.txt.bz2 On Mon, 2008-06-09 at 11:23 -0400, Daniel Jacobowitz wrote: > On Mon, Jun 09, 2008 at 12:02:05PM -0300, Luis Machado wrote: > > We're left with what can be seen with "maint info sections", but the > > lack of descriptive names is really bad for precise analysis of the > > mappings. > > > > In order for this information to be readily available through a core > > file, enhancements need to be done in the kernel itself. > > > > So, now that we've touched this topic, what do you think about this? For > > debugging purposes, this would be valuable information to have in GDB. > > I don't understand what you have in mind. These are not sections, > they're segments; there are never names associated with them. The idea is to extend the functionality we have for live processes to core files. Luis