aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-events.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 17:46:16 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-03 00:18:07 -0500
commit1ac72f0659d64d6a14da862242db0d841d2878d0 (patch)
treed7d792ba2df8227b99240650e99087e1f6008813 /sim/common/sim-events.h
parent987f8739051ff368ecaf6ca1e0fc966c974381a1 (diff)
downloadgdb-1ac72f0659d64d6a14da862242db0d841d2878d0.zip
gdb-1ac72f0659d64d6a14da862242db0d841d2878d0.tar.gz
gdb-1ac72f0659d64d6a14da862242db0d841d2878d0.tar.bz2
sim: convert to bfd_endian
Rather than re-invent endian defines, as well as maintain our own list of OS & arch-specific includes, punt all that logic in favor of the bfd ones already set up and maintained elsewhere. We already rely on the bfd library, so leveraging the endian aspect should be fine.
Diffstat (limited to 'sim/common/sim-events.h')
-rw-r--r--sim/common/sim-events.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/sim-events.h b/sim/common/sim-events.h
index 60e2046..c01cea0 100644
--- a/sim/common/sim-events.h
+++ b/sim/common/sim-events.h
@@ -154,7 +154,8 @@ extern sim_event *sim_events_watch_clock
true.
HOST_ADDR: pointer into the host address space.
- BYTE_ORDER: 0 - host endian; BIG_ENDIAN; LITTLE_ENDIAN */
+ BYTE_ORDER: BFD_ENDIAN_UNKNOWN - host endian; BFD_ENDIAN_BIG;
+ BFD_ENDIAN_LITTLE. */
extern sim_event *sim_events_watch_sim
(SIM_DESC sd,
@@ -173,7 +174,8 @@ extern sim_event *sim_events_watch_sim
true.
CORE_ADDR/MAP: pointer into the target address space.
- BYTE_ORDER: 0 - current target endian; BIG_ENDIAN; LITTLE_ENDIAN */
+ BYTE_ORDER: BFD_ENDIAN_UNKNOWN - host endian; BFD_ENDIAN_BIG;
+ BFD_ENDIAN_LITTLE. */
extern sim_event *sim_events_watch_core
(SIM_DESC sd,