Why does mips define elf_backend_sign_extend_vma to true?
Andrew Cagney
ac131313@cygnus.com
Thu Aug 9 12:23:00 GMT 2001
> There is a bug but the underlying problem is the oposite of what you
>> claim. Something is breaking that simple always sign-extend rule
>> (forgetting to sign extend something) and, as a consequence, the symbol
>> lookup is failing.
>>
>
>
> I am willing to buy it. The immediate problem is in
>
> struct obj_section *
> find_pc_sect_section (CORE_ADDR pc, struct sec *section)
> {
> struct obj_section *s;
> struct objfile *objfile;
Ah, now your getting it! :-)
In the bad old days, one developer would decide that the PC was wrong,
and a second would decide that the s->endaddr was wrong. They would
then fix/test their local cases and commit their changes. Only to find
that their target was still broken .... :-/
Andrew
More information about the Gdb
mailing list