This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Adjust address size on MIPS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]