This is the mail archive of the
mailing list for the GDB project.
Re: RFA: Do solib address arithmetic with appropriate truncation
> Andrew Cagney <firstname.lastname@example.org> writes:
>> Assuming a 32 bit MIPS section header and offset:
>> 0x90000000 -> 0xffffffff90000000
> Okay, thanks.
> Now, on such a system --- 32 bit MIPS section headers and 32-bit
> pointers --- where will a value like 0xffffffff90000000 ever actually
> appear *on the target*? That is, why isn't this sign extension just a
> figment of GDB's imagination?
It will appear in the target's 64 bit registers.