[RFC] h8300 "info registers" fix
Jim Blandy
jimb@codesourcery.com
Sat Sep 23 03:20:00 GMT 2006
Mark Kettenis <mark.kettenis@xs4all.nl> writes:
>> Date: Wed, 13 Sep 2006 16:30:43 -0400
>> From: Daniel Jacobowitz <drow@false.org>
>>
>> On Wed, Sep 13, 2006 at 01:20:09PM -0700, Michael Snyder wrote:
>> > Grumble -- is the regcache kept in host order, or target order?
>>
>> Target order.
>>
>> [Which is apparently a bit weird; most debug interfaces I've seen
>> lately use host order.]
>
> Not weird at all; it's the same convention we use for storing values.
>
> Bet most debug interfaces you've seen lately actually use
> little-endian byte order.
No, they're actually documented to return them in host byte order.
You read a register, you get an integer.
(Well, Daniel's seen more than me, but this is so of the ones I have
seen.)
More information about the Gdb-patches
mailing list