Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/include flip the byte order



details:   https://anonhg.NetBSD.org/src/rev/a608253723ba
branches:  trunk
changeset: 324803:a608253723ba
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 20 20:49:59 2018 +0000

description:
flip the byte order

diffstat:

 sys/arch/aarch64/include/ptrace.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3d9c86612690 -r a608253723ba sys/arch/aarch64/include/ptrace.h
--- a/sys/arch/aarch64/include/ptrace.h Fri Jul 20 18:25:56 2018 +0000
+++ b/sys/arch/aarch64/include/ptrace.h Fri Jul 20 20:49:59 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.h,v 1.5 2017/04/12 18:17:59 kamil Exp $ */
+/* $NetBSD: ptrace.h,v 1.6 2018/07/20 20:49:59 christos Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
 #define PTRACE_REG_SP(r)       (r)->r_sp
 #define PTRACE_REG_INTRV(r)    (r)->r_reg[0]
 
-#define PTRACE_BREAKPOINT      ((const uint8_t[]) { 0xd4, 0x20, 0x01, 0xa0 })
+#define PTRACE_BREAKPOINT      ((const uint8_t[]) { 0xa0, 0x01, 0x20, 0xd4 })
 #define PTRACE_BREAKPOINT_ASM  __asm __volatile(".word 0xa00120d4" ::: "memory")
 #define PTRACE_BREAKPOINT_SIZE 4
 



Home | Main Index | Thread Index | Old Index