From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24636 invoked by alias); 28 Jul 2007 20:16:41 -0000 Received: (qmail 24628 invoked by uid 22791); 28 Jul 2007 20:16:40 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jul 2007 20:16:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l6SKGbie012518 for ; Sat, 28 Jul 2007 16:16:37 -0400 Received: from gateway.sf.frob.com (vpn-14-113.rdu.redhat.com [10.11.14.113]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6SKGaUa005926; Sat, 28 Jul 2007 16:16:36 -0400 Received: from magilla.localdomain (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 8BFD0357B; Sat, 28 Jul 2007 13:16:35 -0700 (PDT) Received: by magilla.localdomain (Postfix, from userid 5281) id AEBDB4D058D; Sat, 28 Jul 2007 13:16:04 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Jan Kratochvil Cc: binutils@sources.redhat.com Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id) In-Reply-To: Jan Kratochvil's message of Saturday, 28 July 2007 21:13:54 +0200 <20070728191354.GA14892@host0.dyn.jankratochvil.net> X-Zippy-Says: I'm also against BODY-SURFING!! Message-Id: <20070728201604.AEBDB4D058D@magilla.localdomain> Date: Sun, 29 Jul 2007 15:29:00 -0000 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-07/txt/msg00518.txt.bz2 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. What does your change do to e.g. objcopy on a core file? Thanks, Roland