public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Omer <omerg681@gmail.com>
To: gdb@sourceware.org
Subject: Specifying target endianness via Remote Serial Protocol
Date: Sun, 12 Apr 2020 15:02:32 +0300	[thread overview]
Message-ID: <CALN5k-NPKjJLs8ijrLFw8Gh+d0TA0_=XY0PLWz6sN5op1hp+fw@mail.gmail.com> (raw)

Hi,

While writing my own gdb stub, I noticed that there is no way to specify
what endianness the target is using (I guess the logical place for that
would be in the target.xml file).
One can use "set endian" manually to fix that, but when debugging an ARM
BE8 target, there is no way to specify that the code is little endian
(currently byte_order_for_code is initialized to little only when loading a
BE8 elf).
Shouldn't there be an additional field for target XML tag to specify that?

Omer.

             reply	other threads:[~2020-04-12 12:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-12 12:02 Omer [this message]
2020-04-13 13:04 ` Luis Machado
2020-04-14 10:45   ` Omer
2020-04-14 12:36     ` Luis Machado

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='CALN5k-NPKjJLs8ijrLFw8Gh+d0TA0_=XY0PLWz6sN5op1hp+fw@mail.gmail.com' \
    --to=omerg681@gmail.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).