From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32332 invoked by alias); 9 Nov 2011 20:32:07 -0000 Received: (qmail 32322 invoked by uid 22791); 9 Nov 2011 20:32:06 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BJ X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Nov 2011 20:31:51 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA9KVpLp031989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Nov 2011 15:31:51 -0500 Received: from host1.jankratochvil.net (ovpn-116-26.ams2.redhat.com [10.36.116.26]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pA9KVndM028603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Nov 2011 15:31:51 -0500 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id pA9KVmTj019828; Wed, 9 Nov 2011 21:31:48 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id pA9KVmKY019827; Wed, 9 Nov 2011 21:31:48 +0100 Date: Wed, 09 Nov 2011 20:32:00 -0000 From: Jan Kratochvil To: Sergio Durigan Junior Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Implement new `info core mappings' command Message-ID: <20111109203148.GA19625@host1.jankratochvil.net> References: <20111031001117.GA11608@host1.jankratochvil.net> <20111031070012.GA32610@host1.jankratochvil.net> <20111104162648.GA30571@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00265.txt.bz2 On Tue, 08 Nov 2011 02:48:54 +0100, Sergio Durigan Junior wrote: > > On Thu, 03 Nov 2011 21:00:39 +0100, Sergio Durigan Junior wrote: > > For ELF core files you should rather check also the ELF segments in > > objfiles->obfd and verify it is fully covered. [...] > This one is giving me headaches... I have discovered (a bit late) ABRT already supports dumping /proc/PID/maps along the core file for a dying process (at least on Fedora 16), together with many other useful information. While I heard Solaris puts some such info _into_ the core file I find OK to put it _along_ the core file - in the whole crash report. So I understand in some corner cases without ABRT `info core mappings' may be useful but I no longer find too much interest in it myself and some approximate file suggestion may be just good enough there. After all the whole information about where is which file mapped is just an approximate suggestion by GDB anyway. Thanks, Jan