From: Daniel Jacobowitz <drow@false.org>
To: Stan Shebs <stan@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] ARM BE8 support
Date: Mon, 11 Aug 2008 17:01:00 -0000 [thread overview]
Message-ID: <20080811170015.GA29587@caradoc.them.org> (raw)
In-Reply-To: <48971BD1.5020907@codesourcery.com>
On Mon, Aug 04, 2008 at 08:10:09AM -0700, Stan Shebs wrote:
> ARM's BE8 format introduces yet another amusing variation on endianness,
> in which the data is big-endian while the code is little-endian. The bits
> for binutils went in a while ago, this patch extends GDB. In theory, we
> should change functions like read_memory_unsigned_integer to have forms
> for both code and data; in lieu of such a sweeping change for what is
> rather a narrow use, I introduced macros to swap instruction bytes after
> reading. Fortunately, GDB doesn't often need to examine instructions! This
> was tested by passing --be8 to the linker and running under a hacked qemu
> simulator, no hardware being available yet.
FWIW, this looks good to me.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2008-08-11 17:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 15:11 Stan Shebs
2008-08-04 15:16 ` Doug Evans
2008-08-04 17:44 ` Stan Shebs
2008-08-04 18:44 ` Doug Evans
2008-08-11 17:01 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080811170015.GA29587@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=stan@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox