gdb: Update to version 10.1
[openwrt/openwrt.git] / package / devel / gdb / patches / 100-musl_fix.patch
index 8ba6d46900f020d2bc80226351aa9f5e07443956..e0d871d291431e6e4561ff0892045d9887dd4b8b 100644 (file)
@@ -8,9 +8,9 @@
  #include "defs.h"
  #include "inferior.h"
  #include "infrun.h"
-@@ -72,6 +73,10 @@
- #define SPUFS_MAGIC 0x23c9b64e
- #endif
+@@ -70,6 +71,10 @@
+ #include "gdbsupport/gdb-sigmask.h"
+ #include "debug.h"
  
 +#ifndef __SIGRTMIN
 +#define __SIGRTMIN SIGRTMIN
@@ -39,8 +39,8 @@
  #include <asm/cputable.h>
  
  /* This sometimes isn't defined.  */
---- a/gdb/gdbserver/linux-ppc-low.c
-+++ b/gdb/gdbserver/linux-ppc-low.c
+--- a/gdbserver/linux-ppc-low.cc
++++ b/gdbserver/linux-ppc-low.cc
 @@ -23,7 +23,9 @@
  #include "elf/common.h"
  #include <sys/uio.h>