From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31359 invoked by alias); 1 Aug 2007 13:05:59 -0000 Received: (qmail 31348 invoked by uid 22791); 1 Aug 2007 13:05:58 -0000 X-Spam-Check-By: sourceware.org Received: from omta05sl.mx.bigpond.com (HELO omta05sl.mx.bigpond.com) (144.140.93.195) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Aug 2007 13:05:52 +0000 Received: from oaamta05sl.mx.bigpond.com ([58.174.193.87]) by omta05sl.mx.bigpond.com with ESMTP id <20070801130548.PHYC29750.omta05sl.mx.bigpond.com@oaamta05sl.mx.bigpond.com>; Wed, 1 Aug 2007 13:05:48 +0000 Received: from bubble.grove.modra.org ([58.174.193.87]) by oaamta05sl.mx.bigpond.com with ESMTP id <20070801130547.XIQC25463.oaamta05sl.mx.bigpond.com@bubble.grove.modra.org>; Wed, 1 Aug 2007 13:05:47 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id A347439B9FD; Wed, 1 Aug 2007 22:35:47 +0930 (CST) Date: Wed, 01 Aug 2007 13:05:00 -0000 From: Alan Modra To: Jan Kratochvil Cc: Roland McGrath , binutils@sources.redhat.com Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id) Message-ID: <20070801130547.GN23966@bubble.grove.modra.org> Mail-Followup-To: Jan Kratochvil , Roland McGrath , binutils@sources.redhat.com References: <20070728191354.GA14892@host0.dyn.jankratochvil.net> <20070728201604.AEBDB4D058D@magilla.localdomain> <20070729165314.GA8906@host0.dyn.jankratochvil.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070729165314.GA8906@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00013.txt.bz2 On Sun, Jul 29, 2007 at 06:53:15PM +0200, Jan Kratochvil wrote: > On Sat, 28 Jul 2007 22:16:04 +0200, Roland McGrath wrote: > > Are you sure that changing _bfd_elf_make_section_from_phdr is the right way > > to fix gdb? > > > > It is in a certain sense accurate to split the one segment into two > > sections, a leading SEC_LOAD one and a trailing one without SEC_LOAD. > > The core files with `p_filesz == 0' were working before. I think BFD is still doing the right thing. Please fix this in gdb. -- Alan Modra Australia Development Lab, IBM