Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb KNF
details: https://anonhg.NetBSD.org/src/rev/a8630956d6f6
branches: trunk
changeset: 997546:a8630956d6f6
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Mar 12 07:44:58 2019 +0000
description:
KNF
diffstat:
sys/ddb/db_trap.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 7f33936cc2e1 -r a8630956d6f6 sys/ddb/db_trap.c
--- a/sys/ddb/db_trap.c Tue Mar 12 03:37:23 2019 +0000
+++ b/sys/ddb/db_trap.c Tue Mar 12 07:44:58 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trap.c,v 1.25 2011/02/09 18:24:44 matt Exp $ */
+/* $NetBSD: db_trap.c,v 1.26 2019/03/12 07:44:58 skrll Exp $ */
/*
* Mach Operating System
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trap.c,v 1.25 2011/02/09 18:24:44 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trap.c,v 1.26 2019/03/12 07:44:58 skrll Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -67,7 +67,8 @@
bkpt = IS_BREAKPOINT_TRAP(type, code);
watchpt = IS_WATCHPOINT_TRAP(type, code);
- if (db_trap_callback) db_trap_callback(1);
+ if (db_trap_callback)
+ db_trap_callback(1);
if (db_stop_at_pc(DDB_REGS, &bkpt)) {
if (db_inst_count) {
Home |
Main Index |
Thread Index |
Old Index