This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Regression caused by elfread.c patch
- To: akale at veritas dot com
- Subject: Re: Regression caused by elfread.c patch
- From: Jim Kingdon <kingdon at redhat dot com>
- Date: Mon, 14 Feb 2000 23:53:31 -0500
- CC: kettenis at wins dot uva dot nl, gdb at sourceware dot cygnus dot com
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <200002142206.e1EM6a310093@delius.kettenis.local> <00021509472500.20543@fermat.vxindia.veritas.com>
> 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.