From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23523 invoked by alias); 19 Jun 2009 14:16:58 -0000 Received: (qmail 23515 invoked by uid 22791); 19 Jun 2009 14:16:57 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Jun 2009 14:16:49 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MHetU-0007Pj-SN for gdb-patches@sources.redhat.com; Fri, 19 Jun 2009 14:16:41 +0000 Received: from enigma.qnx.com ([209.226.137.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jun 2009 14:16:40 +0000 Received: from aristovski by enigma.qnx.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jun 2009 14:16:40 +0000 To: gdb-patches@sources.redhat.com From: Aleksandar Ristovski Subject: Re: [patch] solib-svr4.c - allow reading linkmap info from core without executable Date: Fri, 19 Jun 2009 14:16:00 -0000 Message-ID: References: <200906102308.29638.pedro@codesourcery.com> <4A310906.4030603@qnx.com> <200906190004.23937.pedro@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <200906190004.23937.pedro@codesourcery.com> 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: 2009-06/txt/msg00501.txt.bz2 Pedro Alves wrote: > > I was thinking on pushing the elf check a bit down instead, > like the below. However, having now tested this, I see that > this doesn't work in most of the cores I have here (x86_64-linux). > In most cases I see, the segment that would contain the program > headers, as indicated by auxv info, isn't included in the > core... > > (objdump -h) > Idx Name Size VMA LMA File off Algn > : > 6 load1 00000000 0000000000400000 0000000000000000 000008f8 2**0 > ALLOC, READONLY, CODE > : > It is probably not dumped separately in a note, but if it is a full core, then it should be retrievable. This is the case I have with Neutrino core files.