Module Name:    src
Committed By:   skrll
Date:           Mon Jun  6 06:41:44 UTC 2022

Modified Files:
        src/sys/arch/hppa/include: ptrace.h

Log Message:
Define a PTRACE_ILLEGAL_ASM


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/hppa/include/ptrace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/include/ptrace.h
diff -u src/sys/arch/hppa/include/ptrace.h:1.10 src/sys/arch/hppa/include/ptrace.h:1.11
--- src/sys/arch/hppa/include/ptrace.h:1.10	Tue Dec 24 14:50:59 2019
+++ src/sys/arch/hppa/include/ptrace.h	Mon Jun  6 06:41:43 2022
@@ -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

Reply via email to