This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix has_section_at_zero for separate debug files


On Thu, 7 Jan 2010 14:09:18 +0100
Tristan Gingold <gingold@ACT-Europe.FR> wrote:

> 2010-01-07  Tristan Gingold  <gingold@adacore.com>
> 
> 	* dwarf2read.c (dwarf2_locate_sections): Also consider SEC_ALLOC
> 	sections to set has_section_at_zero.
> 	(dwarf2_psymtab_to_symtab): Do not copy has_section_at_zero from
> 	backlink for separate debug file.

Tristan's patch causes no regressions for the gdb.base/sepdebug.exp
test, for which I had used a different approach for fixing problems
for that I was seeing when testing a mep-elf toolchain.

Tristan's patch reverts my earlier work and uses a different approach
to ensure that `has_section_at_zero' is set correctly.  I endorse this
approach and think that this patch should be committed.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]