This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Regression caused by elfread.c patch
> That was because Jim didn't checkin my patch correctly.
> He has fixed it now.
No, this is a different problem.
I don't see how your patch could work at all - sym->section->index is
a very different number than a SECT_OFF_* code. The SECT_OFF_* code
(which gets fed to ANOFFSET) isn't computed until later in the
function (via the call to record_minimal_symbol_and_info).
I have reverted the patch.