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] h8300 "info registers" fix


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.)


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