Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/include Define a PTRACE_ILLEGAL_ASM
details: https://anonhg.NetBSD.org/src/rev/739c90dee235
branches: trunk
changeset: 366664:739c90dee235
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jun 06 06:41:43 2022 +0000
description:
Define a PTRACE_ILLEGAL_ASM
diffstat:
sys/arch/hppa/include/ptrace.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 5dbdcc6f3e96 -r 739c90dee235 sys/arch/hppa/include/ptrace.h
--- a/sys/arch/hppa/include/ptrace.h Mon Jun 06 06:32:44 2022 +0000
+++ b/sys/arch/hppa/include/ptrace.h Mon Jun 06 06:41:43 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.h,v 1.10 2019/12/24 14:50:59 kamil Exp $ */
+/* $NetBSD: ptrace.h,v 1.11 2022/06/06 06:41:43 skrll Exp $ */
/* $OpenBSD: ptrace.h,v 1.2 1998/12/01 03:05:44 mickey Exp $ */
@@ -62,6 +62,8 @@
#define PTRACE_BREAKPOINT_ASM __asm __volatile("break %0, %1" :: "i" (HPPA_BREAK_KERNEL), "i" (HPPA_BREAK_SS) : "memory")
#define PTRACE_BREAKPOINT_SIZE 4
+#define PTRACE_ILLEGAL_ASM __asm __volatile (".word 0x000ff000" : : : "memory")
+
#ifdef _KERNEL
#define PTRACE_LWP_GETPRIVATE(l) (l)->l_md.md_regs->tf_cr27
#endif
Home |
Main Index |
Thread Index |
Old Index