Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Fix previous and use the original p...
details: https://anonhg.NetBSD.org/src/rev/6474e24d7ba8
branches: trunk
changeset: 999153:6474e24d7ba8
user: martin <martin%NetBSD.org@localhost>
date: Wed May 22 07:40:09 2019 +0000
description:
Fix previous and use the original patch from PR port-sparc64/54221
instead (XXX should fix comments in param.h)
diffstat:
sys/arch/sparc64/sparc64/db_trace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7f8b089fce43 -r 6474e24d7ba8 sys/arch/sparc64/sparc64/db_trace.c
--- a/sys/arch/sparc64/sparc64/db_trace.c Wed May 22 04:17:39 2019 +0000
+++ b/sys/arch/sparc64/sparc64/db_trace.c Wed May 22 07:40:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.51 2019/05/22 04:17:39 martin Exp $ */
+/* $NetBSD: db_trace.c,v 1.52 2019/05/22 07:40:09 martin Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.51 2019/05/22 04:17:39 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.52 2019/05/22 07:40:09 martin Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -163,7 +163,7 @@
if (kernel_only) {
if (pc < KERNBASE || pc >= KERNEND)
break;
- if (frame < KERNBASE || frame >= KERNEND)
+ if (frame < KERNBASE || frame >= VM_MAX_KERNEL_ADDRESS)
break;
} else {
if (frame == 0 || frame == (vaddr_t)-1)
Home |
Main Index |
Thread Index |
Old Index