This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Roland McGrath <roland at redhat dot com>, binutils at sources dot redhat dot com
- Date: Wed, 1 Aug 2007 22:35:47 +0930
- Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id)
- References: <20070728191354.GA14892@host0.dyn.jankratochvil.net> <20070728201604.AEBDB4D058D@magilla.localdomain> <20070729165314.GA8906@host0.dyn.jankratochvil.net>
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