This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Set bfd field in target_section
Pedro Alves wrote:
On Tuesday 28 July 2009 15:34:41, Pedro Alves wrote:
On Tuesday 28 July 2009 15:28:33, Aleksandar Ristovski wrote:
I believe this is related to Pedro's patch from 03-Jun-09. I
didn't see where we set target_section.bfd field - maybe I
am overlooking something, but in bfd-target, in function
target_bfd_xclose we will call bfd_close
(table->sections->bfd); bfd_close doesn't like NULL argument.
Am I missing something, or is this (the patch) missing?
Doesn't add_to_section_table set the bfd in each new
I think you've got yourself an executable without any ALLOC
section, hence the section table ends up empty. I think something
like this will fix the problem. I'll give a test spin and
Actually, I got it by mismatching libraries.