Regression caused by elfread.c patch

Jim Kingdon kingdon@redhat.com
Sat Apr 1 00:00:00 GMT 2000


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


More information about the Gdb mailing list