This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Adjust address size on MIPS
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: drow at false dot org
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 3 Aug 2007 20:37:28 +0200 (CEST)
- Subject: Re: [rfc] Adjust address size on MIPS
- References: <20070803175822.GA11142@caradoc.them.org>
> 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?