summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gdb-8.2.1_amd64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/patches/gdb-8.2.1_amd64.patch')
-rw-r--r--util/crossgcc/patches/gdb-8.2.1_amd64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gdb-8.2.1_amd64.patch b/util/crossgcc/patches/gdb-8.2.1_amd64.patch
new file mode 100644
index 0000000000..978fa26f6a
--- /dev/null
+++ b/util/crossgcc/patches/gdb-8.2.1_amd64.patch
@@ -0,0 +1,14 @@
+diff -urN gdb-8.2.1.orig/gdb/configure.tgt gdb-8.2.1/gdb/configure.tgt
+--- gdb-8.2.1.orig/gdb/configure.tgt 2019-01-04 12:34:10.301072023 +0100
++++ gdb-8.2.1/gdb/configure.tgt 2019-01-04 12:35:21.948388220 +0100
+@@ -732,6 +732,10 @@
+ x86_64-*-rtems*)
+ gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
+ ;;
++x86_64-*-*)
++ # Target: amd64
++ 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"