Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include/arm32 Fixup the non-KDTRACE_HOOKS case ...
details: https://anonhg.NetBSD.org/src/rev/2ba1003480bd
branches: trunk
changeset: 354989:2ba1003480bd
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jul 07 16:59:35 2017 +0000
description:
Fixup the non-KDTRACE_HOOKS case of PUSHDTRACEGAP - we need to copy the
stack pointer to r2.
diffstat:
sys/arch/arm/include/arm32/frame.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 80027ce5bbb7 -r 2ba1003480bd sys/arch/arm/include/arm32/frame.h
--- a/sys/arch/arm/include/arm32/frame.h Fri Jul 07 13:11:31 2017 +0000
+++ b/sys/arch/arm/include/arm32/frame.h Fri Jul 07 16:59:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frame.h,v 1.44 2017/07/07 00:34:09 chs Exp $ */
+/* $NetBSD: frame.h,v 1.45 2017/07/07 16:59:35 skrll Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@@ -455,7 +455,8 @@
mov r2, sp; \
subeq r2, r2, #(4 * 16); /* if so, leave a gap for dtrace */
#else
-#define PUSHDTRACEGAP /* nothing */
+#define PUSHDTRACEGAP \
+ mov r2, sp
#endif
#define PUSHTRAPFRAME(rX) \
Home |
Main Index |
Thread Index |
Old Index