From 45bf89586fe00a9d4d36203bf1a742264ada5b69 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 8 May 2020 09:57:51 +0100 Subject: [PATCH] devkitA64: upgrade gdb to 9.1 --- dka64/patches/gdb-8.2.1.patch | 60 ----------------------------------- select_toolchain.sh | 2 +- 2 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 dka64/patches/gdb-8.2.1.patch diff --git a/dka64/patches/gdb-8.2.1.patch b/dka64/patches/gdb-8.2.1.patch deleted file mode 100644 index 73660ff..0000000 --- a/dka64/patches/gdb-8.2.1.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -NBaur gdb-8.2.1/gdb/dtrace-probe.c gdb-8.2.1-apple/gdb/dtrace-probe.c ---- gdb-8.2.1/gdb/dtrace-probe.c 2018-12-23 05:51:54.000000000 +0000 -+++ gdb-8.2.1-apple/gdb/dtrace-probe.c 2019-03-23 19:45:04.743529457 +0000 -@@ -100,7 +100,7 @@ - - /* DTrace static_probe_ops. */ - --const dtrace_static_probe_ops dtrace_static_probe_ops; -+const dtrace_static_probe_ops dtrace_static_probe_ops = {}; - - /* The following structure represents a dtrace probe. */ - -diff -NBaur gdb-8.2.1/gdb/probe.c gdb-8.2.1-apple/gdb/probe.c ---- gdb-8.2.1/gdb/probe.c 2018-12-23 05:51:54.000000000 +0000 -+++ gdb-8.2.1-apple/gdb/probe.c 2019-03-23 19:35:59.701401090 +0000 -@@ -60,7 +60,7 @@ - - /* Static operations associated with a generic probe. */ - --const any_static_probe_ops any_static_probe_ops; -+const any_static_probe_ops any_static_probe_ops = {}; - - /* A helper for parse_probes that decodes a probe specification in - SEARCH_PSPACE. It appends matching SALs to RESULT. */ -diff -NBaur gdb-8.2.1/gdb/record-btrace.c gdb-8.2.1-apple/gdb/record-btrace.c ---- gdb-8.2.1/gdb/record-btrace.c 2018-12-23 05:51:54.000000000 +0000 -+++ gdb-8.2.1-apple/gdb/record-btrace.c 2019-03-23 19:35:59.705388987 +0000 -@@ -144,7 +144,7 @@ - - /* Token associated with a new-thread observer enabling branch tracing - for the new thread. */ --static const gdb::observers::token record_btrace_thread_observer_token; -+static const gdb::observers::token record_btrace_thread_observer_token = {}; - - /* Memory access types used in set/show record btrace replay-memory-access. */ - static const char replay_memory_access_read_only[] = "read-only"; -diff -NBaur gdb-8.2.1/gdb/stap-probe.c gdb-8.2.1-apple/gdb/stap-probe.c ---- gdb-8.2.1/gdb/stap-probe.c 2018-12-23 05:51:54.000000000 +0000 -+++ gdb-8.2.1-apple/gdb/stap-probe.c 2019-03-23 19:35:59.705388987 +0000 -@@ -119,7 +119,7 @@ - - /* SystemTap static_probe_ops. */ - --const stap_static_probe_ops stap_static_probe_ops; -+const stap_static_probe_ops stap_static_probe_ops = {}; - - class stap_probe : public probe - { -diff -NBaur gdb-8.2.1/gdb/tui/tui-hooks.c gdb-8.2.1-apple/gdb/tui/tui-hooks.c ---- gdb-8.2.1/gdb/tui/tui-hooks.c 2018-12-23 05:51:54.000000000 +0000 -+++ gdb-8.2.1-apple/gdb/tui/tui-hooks.c 2019-03-23 19:35:59.705388987 +0000 -@@ -205,7 +205,7 @@ - - /* Token associated with observers registered while TUI hooks are - installed. */ --static const gdb::observers::token tui_observers_token; -+static const gdb::observers::token tui_observers_token = {}; - - /* Attach or detach a single observer, according to ATTACH. */ - diff --git a/select_toolchain.sh b/select_toolchain.sh index 5c7c3b0..4537d1d 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -53,8 +53,8 @@ case "$VERSION" in "3" ) GCC_VER=10.1.0 BINUTILS_VER=2.32 - GDB_VER=8.2.1 NEWLIB_VER=3.3.0 + GDB_VER=9.1 basedir='dka64' package=devkitA64 target=aarch64-none-elf