summaryrefslogtreecommitdiff
path: root/packages/gdb
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/gdb
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gdb')
-rw-r--r--packages/gdb/11.2/0002-allow-android.patch2
-rw-r--r--packages/gdb/7.12.1/0006-duplicate-typedef.patch11
-rw-r--r--packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch6
3 files changed, 10 insertions, 9 deletions
diff --git a/packages/gdb/11.2/0002-allow-android.patch b/packages/gdb/11.2/0002-allow-android.patch
index d6c5869..3365d87 100644
--- a/packages/gdb/11.2/0002-allow-android.patch
+++ b/packages/gdb/11.2/0002-allow-android.patch
@@ -5,7 +5,7 @@
--- a/gdbserver/configure
+++ b/gdbserver/configure
-@@ -10028,17 +10028,6 @@
+@@ -10052,17 +10052,6 @@
case "${target}" in
diff --git a/packages/gdb/7.12.1/0006-duplicate-typedef.patch b/packages/gdb/7.12.1/0006-duplicate-typedef.patch
index cbbc3e2..4d51a48 100644
--- a/packages/gdb/7.12.1/0006-duplicate-typedef.patch
+++ b/packages/gdb/7.12.1/0006-duplicate-typedef.patch
@@ -1,6 +1,9 @@
-diff -urpN gdb-7.12.1.orig/gdb/event-loop.h gdb-7.12.1/gdb/event-loop.h
---- gdb-7.12.1.orig/gdb/event-loop.h 2017-01-21 05:46:46.000000000 -0800
-+++ gdb-7.12.1/gdb/event-loop.h 2019-03-14 11:55:56.280325742 -0700
+---
+ gdb/event-loop.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/gdb/event-loop.h
++++ b/gdb/event-loop.h
@@ -66,6 +66,8 @@
infinite loop.
@@ -10,7 +13,7 @@ diff -urpN gdb-7.12.1.orig/gdb/event-loop.h gdb-7.12.1/gdb/event-loop.h
typedef void *gdb_client_data;
struct async_signal_handler;
-@@ -127,3 +129,5 @@ extern void mark_async_event_handler (st
+@@ -127,3 +129,5 @@
extern void clear_async_event_handler (struct async_event_handler *handler);
extern void initialize_async_signal_handlers (void);
diff --git a/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch b/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch
index 9456dbb..a45a8c1 100644
--- a/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch
+++ b/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch
@@ -1,15 +1,13 @@
---
- gdb/nat/aarch64-sve-linux-ptrace.h | 2 +-
+ gdb/nat/aarch64-sve-linux-ptrace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h
-index 029e753ffe..172ae39432 100644
--- a/gdb/nat/aarch64-sve-linux-ptrace.h
+++ b/gdb/nat/aarch64-sve-linux-ptrace.h
@@ -20,7 +20,7 @@
#ifndef AARCH64_SVE_LINUX_PTRACE_H
#define AARCH64_SVE_LINUX_PTRACE_H
-
+
-#include <asm/sigcontext.h>
+#include <signal.h>
#include <sys/utsname.h>