summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-11 18:12:55 +1100
committerChris Johns <chrisj@rtems.org>2016-03-11 18:59:59 +1100
commita44fedf9027b3f8c4be96f728236bd0dedffda8c (patch)
tree802f14cfce47b81ea55128ef82a5393048d3b76c
parentBugfix: gdb-7.3.1 couldn't be build with a modern texinfo package. (diff)
downloadrtems-tools-a44fedf9027b3f8c4be96f728236bd0dedffda8c.tar.bz2
Add a gdb-7.11 patch for 4.12.
-rw-r--r--tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch b/tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch
new file mode 100644
index 0000000..0175eec
--- /dev/null
+++ b/tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch
@@ -0,0 +1,41 @@
+--- gdb-7.11/bfd/config.bfd.orig 2016-03-11 18:06:42.000000000 +1100
++++ gdb-7.11/bfd/config.bfd 2016-03-11 18:09:21.000000000 +1100
+@@ -176,7 +176,7 @@
+ targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch"
+ want64=true
+ ;;
+- aarch64-*-elf)
++ aarch64-*-elf | aarch64-*-rtems*)
+ targ_defvec=aarch64_elf64_le_vec
+ targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
+ want64=true
+@@ -687,7 +687,7 @@
+ targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec"
+ want64=true
+ ;;
+- x86_64-*-elf*)
++ x86_64-*-elf* | x86_64-*-rtems*)
+ targ_defvec=x86_64_elf64_vec
+ targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
+ want64=true
+--- gdb-7.11/gdb/configure.tgt.orig 2016-03-11 18:01:00.000000000 +1100
++++ gdb-7.11/gdb/configure.tgt 2016-03-11 18:04:07.000000000 +1100
+@@ -36,7 +36,7 @@
+ # map target info into gdb names.
+
+ case "${targ}" in
+-aarch64*-*-elf)
++aarch64*-*-elf | aarch64*-*-rtems*)
+ # Target: AArch64 embedded system
+ gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
+ ;;
+@@ -650,6 +650,9 @@
+ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
+ dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
+ ;;
++x86_64-*-elf* | x86_64-*-rtems*)
++ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o"
++ ;;
+ x86_64-*-linux*)
+ # Target: GNU/Linux x86-64
+ gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \