Browse Source

gdbserver: fix compile for noMMU

Waldemar Brodkorb 2 weeks ago
parent
commit
913d4be220
1 changed files with 10 additions and 0 deletions
  1. 10 0
      package/gdbserver/patches/patch-gdb_nat_fork-inferior_c

+ 10 - 0
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;