summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gdb-8.3_amd64.patch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-12 08:14:43 +0200
committerMartin Roth <martinroth@google.com>2019-07-25 18:28:00 +0000
commit31270646ba797364ec16405c1326b090800cb95a (patch)
tree886145f48a3ace681fcc58ec58fdc24658a1de33 /util/crossgcc/patches/gdb-8.3_amd64.patch
parent77f778c0c3170b53e718376df089682e295947f7 (diff)
crossgcc: Upgrade GDB to version 8.3
Change-Id: I7a85ad171fa259e0dcb0019941d735ef41511737 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32754 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/crossgcc/patches/gdb-8.3_amd64.patch')
-rw-r--r--util/crossgcc/patches/gdb-8.3_amd64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gdb-8.3_amd64.patch b/util/crossgcc/patches/gdb-8.3_amd64.patch
new file mode 100644
index 0000000000..47d9a72a66
--- /dev/null
+++ b/util/crossgcc/patches/gdb-8.3_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"