Module Name:    src
Committed By:   ryo
Date:           Mon Sep  7 18:29:48 UTC 2020

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

Log Message:
Oops. revert my previous commit. AArch64 instructions are always LE.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/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/aarch64/include/ptrace.h
diff -u src/sys/arch/aarch64/include/ptrace.h:1.11 src/sys/arch/aarch64/include/ptrace.h:1.12
--- src/sys/arch/aarch64/include/ptrace.h:1.11	Sun Sep  6 17:43:31 2020
+++ src/sys/arch/aarch64/include/ptrace.h	Mon Sep  7 18:29:48 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.h,v 1.11 2020/09/06 17:43:31 ryo Exp $ */
+/* $NetBSD: ptrace.h,v 1.12 2020/09/07 18:29:48 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -62,11 +62,7 @@
 #define PTRACE_REG_SP(r)	(r)->r_sp
 #define PTRACE_REG_INTRV(r)	(r)->r_reg[0]
 
-#ifdef __AARCH64EB__
-#define PTRACE_BREAKPOINT	((const uint8_t[]) { 0xd4, 0x20, 0x01, 0xa0 })
-#else
 #define PTRACE_BREAKPOINT	((const uint8_t[]) { 0xa0, 0x01, 0x20, 0xd4 })
-#endif
 #define PTRACE_BREAKPOINT_ASM	__asm __volatile("brk #13" ::: "memory")
 #define PTRACE_BREAKPOINT_SIZE	4
 

Reply via email to