summaryrefslogtreecommitdiffstats
path: root/util/crossgcc/patches/gdb-9.2_amd64.patch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-24 15:03:33 +0200
committerNico Huber <nico.h@gmx.de>2020-06-17 16:32:05 +0000
commita0eb64ad33b187d8782a342e5e4f00605e632180 (patch)
tree75b6dad84db8d0234c99096873d81541bac68eb2 /util/crossgcc/patches/gdb-9.2_amd64.patch
parent91fb139956bcbd5771fd7ec1e474c16122c1b547 (diff)
downloadcoreboot-a0eb64ad33b187d8782a342e5e4f00605e632180.tar.gz
coreboot-a0eb64ad33b187d8782a342e5e4f00605e632180.tar.bz2
coreboot-a0eb64ad33b187d8782a342e5e4f00605e632180.zip
crossgcc: Upgrade GDB to version 9.2
Change-Id: I30dae356ec3b373ac036c7eced7d6e89ddd08246 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38787 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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 000000000000..47d9a72a66dd
--- /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"