summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gdb-8.3.1_amd64.patch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-09-21 12:23:16 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-11-27 13:22:48 +0000
commit2368681c83e1c0de4df07c5ea9d881e5b284406d (patch)
tree3ae3949d7c99a6060802f94317a68fdd10684ac5 /util/crossgcc/patches/gdb-8.3.1_amd64.patch
parent18ecdbfeb8992507ac170c6257be62cccbbe5899 (diff)
crossgcc: Upgrade GDB to version 8.3.1
Change-Id: I380ba8678b22483b0d9c5fc558c0e08fd38778e7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35513 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/crossgcc/patches/gdb-8.3.1_amd64.patch')
-rw-r--r--util/crossgcc/patches/gdb-8.3.1_amd64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gdb-8.3.1_amd64.patch b/util/crossgcc/patches/gdb-8.3.1_amd64.patch
new file mode 100644
index 0000000000..47d9a72a66
--- /dev/null
+++ b/util/crossgcc/patches/gdb-8.3.1_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"