[rfc] Adjust address size on MIPS

Mark Kettenis mark.kettenis@xs4all.nl
Fri Aug 3 18:38:00 GMT 2007


> Date: Fri, 3 Aug 2007 13:58:22 -0400
> From: Daniel Jacobowitz <drow@false.org>
> 
> I recently tried to use a 64-bit stub to debug an O32 MIPS program.
> It fell down because GDB would send a "m83000000" packet, instead of
> the proper "mffffffff83000000" packet (sign extended 64-bit
> addresses).  I think that if a stub sends us some 64-bit registers in
> the "g" packet, the polite thing to do would be to send it 64-bit
> addresses by default.
> 
> Does this sound wrong to anyone? 

This feels like a bad hack to me.  If it is sending 64-bit addresses
should PROPERTY_GP64 be set in the first place?



More information about the Gdb-patches mailing list