Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 add the case of kdb_trap(-1) called...
details: https://anonhg.NetBSD.org/src/rev/32abd2de193b
branches: trunk
changeset: 971165:32abd2de193b
user: ryo <ryo%NetBSD.org@localhost>
date: Thu Apr 16 08:03:30 2020 +0000
description:
add the case of kdb_trap(-1) called from pic_ipi_ddb().
it depended on the update timing of 'db_recover'.
diffstat:
sys/arch/aarch64/aarch64/db_machdep.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0ed8afb73e67 -r 32abd2de193b sys/arch/aarch64/aarch64/db_machdep.c
--- a/sys/arch/aarch64/aarch64/db_machdep.c Thu Apr 16 07:23:58 2020 +0000
+++ b/sys/arch/aarch64/aarch64/db_machdep.c Thu Apr 16 08:03:30 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.20 2020/02/29 21:30:19 ryo Exp $ */
+/* $NetBSD: db_machdep.c,v 1.21 2020/04/16 08:03:30 ryo Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.20 2020/02/29 21:30:19 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.21 2020/04/16 08:03:30 ryo Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd32.h"
@@ -936,6 +936,7 @@
case DB_TRAP_BKPT_INSN:
case DB_TRAP_WATCHPOINT:
case DB_TRAP_SW_STEP:
+ case -1: /* from pic_ipi_ddb() */
break;
default:
if (db_recover != 0) {
Home |
Main Index |
Thread Index |
Old Index