From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27433 invoked by alias); 23 Sep 2006 03:20:28 -0000 Received: (qmail 27421 invoked by uid 22791); 23 Sep 2006 03:20:28 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 23 Sep 2006 03:20:27 +0000 Received: (qmail 15142 invoked from network); 23 Sep 2006 03:20:25 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Sep 2006 03:20:25 -0000 To: Mark Kettenis Cc: drow@false.org, Michael.Snyder@palmsource.com, gdb-patches@sourceware.org Subject: Re: [RFC] h8300 "info registers" fix References: <0F4DF2E21F33DD46BE7B8CDEEB0E16D307EAB2@ussunex01.palmsource.com> <20060913200917.GA20574@nevyn.them.org> <0F4DF2E21F33DD46BE7B8CDEEB0E16D307EAB3@ussunex01.palmsource.com> <20060913203043.GB21009@nevyn.them.org> <200609230105.k8N15Hf7015324@elgar.sibelius.xs4all.nl> From: Jim Blandy Date: Sat, 23 Sep 2006 03:20:00 -0000 In-Reply-To: <200609230105.k8N15Hf7015324@elgar.sibelius.xs4all.nl> (Mark Kettenis's message of "Sat, 23 Sep 2006 03:05:17 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00157.txt.bz2 Mark Kettenis writes: >> Date: Wed, 13 Sep 2006 16:30:43 -0400 >> From: Daniel Jacobowitz >> >> 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.)