summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gdb-9.2_amd64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/patches/gdb-9.2_amd64.patch')
-rw-r--r--util/crossgcc/patches/gdb-9.2_amd64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gdb-9.2_amd64.patch b/util/crossgcc/patches/gdb-9.2_amd64.patch
new file mode 100644
index 0000000000..47d9a72a66
--- /dev/null
+++ b/util/crossgcc/patches/gdb-9.2_amd64.patch
@@ -0,0 +1,14 @@
+diff -urN gdb-3.orig/gdb/configure.tgt gdb-8.3/gdb/configure.tgt
+--- gdb-8.3.orig/gdb/configure.tgt 2019-02-27 05:51:48.000000000 +0100
++++ gdb-8.3/gdb/configure.tgt 2019-05-12 08:07:45.624984535 +0200
+@@ -772,6 +772,10 @@
+ x86_64-*-rtems*)
+ gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
+ ;;
++x86_64-*-*)
++ # Target: amd6
++ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o"
++ ;;
+ xtensa*-*-*linux*)
+ # Target: GNU/Linux Xtensa
+ gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"