rtems-tools/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
Chris Johns 0bbd2de7f5 4.12: Patches for ERC simualtor for gdb-7.11.
The patches fix the endian checks in the simulator, print filtering,
and the run command.

Updates #2644.
2016-03-16 15:47:37 +11:00

14 lines
407 B
Diff

diff -ruw gdb-7.11.orig/sim/erc32/sis.h gdb-7.11/sim/erc32/sis.h
--- gdb-7.11.orig/sim/erc32/sis.h 2016-03-15 10:24:35.934052479 +1100
+++ gdb-7.11/sim/erc32/sis.h 2016-03-16 13:52:51.988554970 +1100
@@ -20,7 +20,7 @@
#include <sim-config.h>
#include <stdint.h>
-#if HOST_BYTE_ORDER == BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
#define HOST_BIG_ENDIAN
#define EBT 0
#else
Only in gdb-7.11/sim/erc32: sis.h~