Module Name: src Committed By: ryo Date: Thu Apr 16 08:03:30 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: add the case of kdb_trap(-1) called from pic_ipi_ddb(). it depended on the update timing of 'db_recover'. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/db_machdep.c 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/aarch64/db_machdep.c diff -u src/sys/arch/aarch64/aarch64/db_machdep.c:1.20 src/sys/arch/aarch64/aarch64/db_machdep.c:1.21 --- src/sys/arch/aarch64/aarch64/db_machdep.c:1.20 Sat Feb 29 21:30:19 2020 +++ src/sys/arch/aarch64/aarch64/db_machdep.c Thu Apr 16 08:03:30 2020 @@ -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 @@ kdb_trap(int type, struct trapframe *tf) 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) {