diff options
Diffstat (limited to 'package/devel/gdb/patches/100-musl_fix.patch')
-rw-r--r-- | package/devel/gdb/patches/100-musl_fix.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/devel/gdb/patches/100-musl_fix.patch b/package/devel/gdb/patches/100-musl_fix.patch index 356d8c4111..8ba6d46900 100644 --- a/package/devel/gdb/patches/100-musl_fix.patch +++ b/package/devel/gdb/patches/100-musl_fix.patch @@ -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> |