mirror of
https://github.com/stayliv3/gdb-static-cross.git
synced 2024-11-15 04:10:57 +08:00
Added patch for ppc to build correctly, added prebuilt soft float ppc msb binary
This commit is contained in:
parent
3585267587
commit
8cb148548e
13
ppc-gdb-patches/gdb-7.12-ppc.patch
Normal file
13
ppc-gdb-patches/gdb-7.12-ppc.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -Naur gdb-7.12/gdb/gdbserver/linux-ppc-low.c gdb-7.12-ppc-patched/gdb/gdbserver/linux-ppc-low.c
|
||||||
|
--- gdb-7.12/gdb/gdbserver/linux-ppc-low.c 2016-08-01 11:50:20.000000000 -0400
|
||||||
|
+++ gdb-7.12-ppc-patched/gdb/gdbserver/linux-ppc-low.c 2017-05-15 13:40:22.073884258 -0400
|
||||||
|
@@ -21,7 +21,9 @@
|
||||||
|
#include "linux-low.h"
|
||||||
|
|
||||||
|
#include <elf.h>
|
||||||
|
+#define __ASSEMBLY__
|
||||||
|
#include <asm/ptrace.h>
|
||||||
|
+#undef __ASSEMBLY__
|
||||||
|
|
||||||
|
#include "nat/ppc-linux.h"
|
||||||
|
#include "linux-ppc-tdesc.h"
|
BIN
prebuilt/gdbserver-7.12-ppc-sysv
Executable file
BIN
prebuilt/gdbserver-7.12-ppc-sysv
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user