Skip to content

Commit d604caf

Browse files
committed
devkitPPC: update gdb to 8.2.1
1 parent d0d158b commit d604caf

2 files changed

Lines changed: 61 additions & 1 deletion

File tree

dkppc/patches/gdb-8.2.1.patch

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
diff -NBaur gdb-8.2.1/gdb/dtrace-probe.c gdb-8.2.1-apple/gdb/dtrace-probe.c
2+
--- gdb-8.2.1/gdb/dtrace-probe.c 2018-12-23 05:51:54.000000000 +0000
3+
+++ gdb-8.2.1-apple/gdb/dtrace-probe.c 2019-02-19 17:30:16.449175937 +0000
4+
@@ -100,7 +100,7 @@
5+
6+
/* DTrace static_probe_ops. */
7+
8+
-const dtrace_static_probe_ops dtrace_static_probe_ops;
9+
+const dtrace_static_probe_ops dtrace_static_probe_ops = {};
10+
11+
/* The following structure represents a dtrace probe. */
12+
13+
diff -NBaur gdb-8.2.1/gdb/probe.c gdb-8.2.1-apple/gdb/probe.c
14+
--- gdb-8.2.1/gdb/probe.c 2018-12-23 05:51:54.000000000 +0000
15+
+++ gdb-8.2.1-apple/gdb/probe.c 2019-02-19 17:31:05.266578008 +0000
16+
@@ -60,7 +60,7 @@
17+
18+
/* Static operations associated with a generic probe. */
19+
20+
-const any_static_probe_ops any_static_probe_ops;
21+
+const any_static_probe_ops any_static_probe_ops = {};
22+
23+
/* A helper for parse_probes that decodes a probe specification in
24+
SEARCH_PSPACE. It appends matching SALs to RESULT. */
25+
diff -NBaur gdb-8.2.1/gdb/record-btrace.c gdb-8.2.1-apple/gdb/record-btrace.c
26+
--- gdb-8.2.1/gdb/record-btrace.c 2018-12-23 05:51:54.000000000 +0000
27+
+++ gdb-8.2.1-apple/gdb/record-btrace.c 2019-02-19 17:31:33.301731324 +0000
28+
@@ -144,7 +144,7 @@
29+
30+
/* Token associated with a new-thread observer enabling branch tracing
31+
for the new thread. */
32+
-static const gdb::observers::token record_btrace_thread_observer_token;
33+
+static const gdb::observers::token record_btrace_thread_observer_token = {};
34+
35+
/* Memory access types used in set/show record btrace replay-memory-access. */
36+
static const char replay_memory_access_read_only[] = "read-only";
37+
diff -NBaur gdb-8.2.1/gdb/stap-probe.c gdb-8.2.1-apple/gdb/stap-probe.c
38+
--- gdb-8.2.1/gdb/stap-probe.c 2018-12-23 05:51:54.000000000 +0000
39+
+++ gdb-8.2.1-apple/gdb/stap-probe.c 2019-02-19 17:29:35.744567941 +0000
40+
@@ -119,7 +119,7 @@
41+
42+
/* SystemTap static_probe_ops. */
43+
44+
-const stap_static_probe_ops stap_static_probe_ops;
45+
+const stap_static_probe_ops stap_static_probe_ops = {};
46+
47+
class stap_probe : public probe
48+
{
49+
diff -NBaur gdb-8.2.1/gdb/tui/tui-hooks.c gdb-8.2.1-apple/gdb/tui/tui-hooks.c
50+
--- gdb-8.2.1/gdb/tui/tui-hooks.c 2018-12-23 05:51:54.000000000 +0000
51+
+++ gdb-8.2.1-apple/gdb/tui/tui-hooks.c 2019-02-19 17:28:53.178460364 +0000
52+
@@ -205,7 +205,7 @@
53+
54+
/* Token associated with observers registered while TUI hooks are
55+
installed. */
56+
-static const gdb::observers::token tui_observers_token;
57+
+static const gdb::observers::token tui_observers_token = {};
58+
59+
/* Attach or detach a single observer, according to ATTACH. */
60+

select_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ case "$VERSION" in
4444
BINUTILS_VER=2.32
4545
MN_BINUTILS_VER=2.17
4646
NEWLIB_VER=3.1.0
47-
GDB_VER=8.2
47+
GDB_VER=8.2.1
4848
basedir='dkppc'
4949
package=devkitPPC
5050
target=powerpc-eabi

0 commit comments

Comments
 (0)