[rtems-tools commit] Add a gdb-7.11 patch for 4.12.
Chris Johns
chrisj at rtems.org
Fri Mar 11 08:03:03 UTC 2016
Module: rtems-tools
Branch: master
Commit: a44fedf9027b3f8c4be96f728236bd0dedffda8c
Changeset: http://git.rtems.org/rtems-tools/commit/?id=a44fedf9027b3f8c4be96f728236bd0dedffda8c
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Mar 11 18:12:55 2016 +1100
Add a gdb-7.11 patch for 4.12.
---
tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch | 41 ++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
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 \
More information about the vc
mailing list