gdb: bump to 8.3.1
[openwrt/staging/jogo.git] / package / devel / gdb / patches / 100-musl_fix.patch
index 356d8c41116d95481ed9845f358cb01225af3cf5..8ba6d46900f020d2bc80226351aa9f5e07443956 100644 (file)
@@ -8,7 +8,7 @@
  #include "defs.h"
  #include "inferior.h"
  #include "infrun.h"
-@@ -71,6 +72,10 @@
+@@ -72,6 +73,10 @@
  #define SPUFS_MAGIC 0x23c9b64e
  #endif
  
@@ -29,8 +29,8 @@
 --- a/gdb/nat/ppc-linux.h
 +++ b/gdb/nat/ppc-linux.h
 @@ -18,7 +18,10 @@
- #ifndef PPC_LINUX_H
- #define PPC_LINUX_H 1
+ #ifndef NAT_PPC_LINUX_H
+ #define NAT_PPC_LINUX_H
  
 +#define pt_regs __pt_regs
  #include <asm/ptrace.h>
@@ -41,9 +41,9 @@
  /* This sometimes isn't defined.  */
 --- a/gdb/gdbserver/linux-ppc-low.c
 +++ b/gdb/gdbserver/linux-ppc-low.c
-@@ -21,7 +21,9 @@
- #include "linux-low.h"
+@@ -23,7 +23,9 @@
+ #include "elf/common.h"
+ #include <sys/uio.h>
  #include <elf.h>
 +#define pt_regs __pt_regs
  #include <asm/ptrace.h>