From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3620 invoked by alias); 7 Jun 2008 16:58:18 -0000 Received: (qmail 3605 invoked by uid 22791); 7 Jun 2008 16:58:18 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 07 Jun 2008 16:57:56 +0000 Received: from HOME-C4E4A596F7 ([80.230.28.131]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K23009T6QA9YK80@i-mtaout7.012.net.il> for gdb@sourceware.org; Sat, 07 Jun 2008 19:39:46 +0300 (IDT) Date: Sat, 07 Jun 2008 16:58:00 -0000 From: Eli Zaretskii Subject: Re: How can I get a memory map out of a core file? In-reply-to: <200806070930.21380.Bruce.Korb@gmail.com> X-012-Sender: halo1@inter.net.il To: Bruce Korb Cc: msnyder@specifix.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <668c430c0806061345m3c480d95nac5d19b02998715c@mail.gmail.com> <1212789259.3601.426.camel@localhost.localdomain> <200806070930.21380.Bruce.Korb@gmail.com> 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/msg00047.txt.bz2 > Date: Sat, 7 Jun 2008 09:30:21 -0700 > Cc: Michael Snyder , > gdb@sourceware.org > From: Bruce Korb > > So, for me, the ideal solution is a command that yields > (figures out) the valid address ranges, and an adequate backup would > be to tell the "source" command to keep going after a failed command. > Perhaps this is a "request for enhancement", though I hoped there might > already be some hackish way of accomplishing what I need. Along the hackish avenue -- does readelf provide the functionality you need? If so, perhaps you could incorporate what it outputs into some user-defined command, and use that? Just a thought.