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: [9/10] RFC: remove general_symbol_info::obj_section


>>>>> "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


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