gdb: Fix build on AArch64 (#4619)
* Tested on RaspberryPi 4B(bcm2711) Signed-off-by: MkfsSion <mkfssion@mkfssion.com>
This commit is contained in:
parent
8f9bc86de1
commit
684c112b40
20
package/devel/gdb/patches/130-musl_signal_fix.patch
Normal file
20
package/devel/gdb/patches/130-musl_signal_fix.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -Naur a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h
|
||||
--- a/gdb/nat/aarch64-sve-linux-ptrace.h 2018-09-05 15:27:13.000000000 +0800
|
||||
+++ b/gdb/nat/aarch64-sve-linux-ptrace.h 2020-05-17 11:18:55.994338014 +0800
|
||||
@@ -20,15 +20,11 @@
|
||||
#ifndef AARCH64_SVE_LINUX_PTRACE_H
|
||||
#define AARCH64_SVE_LINUX_PTRACE_H
|
||||
|
||||
-#include <asm/sigcontext.h>
|
||||
+#include <signal.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
-#ifndef SVE_SIG_ZREGS_SIZE
|
||||
-#include "aarch64-sve-linux-sigcontext.h"
|
||||
-#endif
|
||||
-
|
||||
/* Indicates whether a SVE ptrace header is followed by SVE registers or a
|
||||
fpsimd structure. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user