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: Wrong data type in function unpack_varlen_hex()


Hi,

  I checked HEAD out and tested it just now. The "rwatch" and
"awatch" both work well.



On 7/13/06, Daniel Jacobowitz <drow@false.org> wrote:
On Thu, Jul 13, 2006 at 11:23:49AM -0400, Daniel Jacobowitz wrote:
> Corinna, what do you think?  The context is the remote protocol reply
> "rwatch:0x80000000"; a bug previously caused this to be sign extended,
> but now that's been fixed.  So I'm afraid we now have the same bug you
> were both trying to fix back again.

Maybe we should be using gdbarch_integer_to_address here too?

Or maybe that hook ought to be completely removed and consolidated with
something else.  There's a whole bunch of related hooks.  With your
recent change, mips_integer_to_address basically matches
signed_pointer_to_address.

--
Daniel Jacobowitz
CodeSourcery



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