summaryrefslogtreecommitdiff
path: root/package/gdbserver
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-04-14 10:03:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-04-14 10:05:55 +0200
commit913d4be220f8537d97e5a205dd3b5e604a64f12b (patch)
tree17bbc8142a964b856849a02d99c7780dd36cdd65 /package/gdbserver
parent77d71f257794e5b1429861830f194558644f3aed (diff)
gdbserver: fix compile for noMMU
Diffstat (limited to 'package/gdbserver')
-rw-r--r--package/gdbserver/patches/patch-gdb_nat_fork-inferior_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/gdbserver/patches/patch-gdb_nat_fork-inferior_c b/package/gdbserver/patches/patch-gdb_nat_fork-inferior_c
new file mode 100644
index 000000000..b1949c798
--- /dev/null
+++ b/package/gdbserver/patches/patch-gdb_nat_fork-inferior_c
@@ -0,0 +1,10 @@
+--- gdb-14.2.orig/gdb/nat/fork-inferior.c 2024-03-03 06:55:00.000000000 +0100
++++ gdb-14.2/gdb/nat/fork-inferior.c 2024-03-22 17:02:35.981582750 +0100
+@@ -27,6 +27,7 @@
+ #include "gdbsupport/pathstuff.h"
+ #include "gdbsupport/signals-state-save-restore.h"
+ #include "gdbsupport/gdb_tilde_expand.h"
++#include "linux-ptrace.h"
+ #include <vector>
+
+ extern char **environ;