summaryrefslogtreecommitdiffstats
path: root/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-16 15:18:34 +1100
committerChris Johns <chrisj@rtems.org>2016-03-16 15:47:37 +1100
commit0bbd2de7f5306ad15ce544f9c3e9a5d9bb00dc85 (patch)
treeab8c18d55df1f890dec3e1ce56c4e71f5d1cc989 /tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
parentrtemstoolkit: Fix execute's writer thread to not eval() the input. (diff)
downloadrtems-tools-0bbd2de7f5306ad15ce544f9c3e9a5d9bb00dc85.tar.bz2
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.
Diffstat (limited to 'tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff')
-rw-r--r--tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff b/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
new file mode 100644
index 0000000..1021664
--- /dev/null
+++ b/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
@@ -0,0 +1,13 @@
+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~