[9/10] RFC: remove general_symbol_info::obj_section

Tom Tromey tromey@redhat.com
Tue Apr 9 11:29:00 GMT 2013


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> * stabsread.c was setting the symbol's section.  However, this caused
>> some test failures on HPPA.  It seemed better to me not to set the
>> section and to let fixup_section do its work.

Pedro> Do you recall specifically why that caused failures?  I'm curious
Pedro> why that wasn't a problem before this series.

I'm afraid I don't remember.

>> I'm not really sure what to do here.  I could further change all the
>> symbol readers not to do relocation at read time.  However, I think
>> that is pretty hard.  Anybody have a better idea?

Pedro> Nope.  But this mystifies me too.  Why wasn't the fallback
Pedro> necessary before?  Ah, it seems before we'd just happen to end up
Pedro> with ginfo->section=0 too.

Yeah, it is a real mess.  Eventually I think it will all be sorted out:
http://sourceware.org/gdb/wiki/ObjfileSplitting

Tom



More information about the Gdb-patches mailing list