Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 KASSERT(FALSE) to enter the debugger on thi...
details: https://anonhg.NetBSD.org/src/rev/8ba45c41ef19
branches: trunk
changeset: 753672:8ba45c41ef19
user: reinoud <reinoud%NetBSD.org@localhost>
date: Tue Apr 06 10:45:15 2010 +0000
description:
KASSERT(FALSE) to enter the debugger on this check. When DDB is not defined
but KGDB is, this would result in cpu_Debugger() dont being defined! Please be
kind to developers that use KGDB instead of DDB! :)
diffstat:
sys/dev/ieee1394/firewire.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3787b7e8b53a -r 8ba45c41ef19 sys/dev/ieee1394/firewire.c
--- a/sys/dev/ieee1394/firewire.c Tue Apr 06 08:09:46 2010 +0000
+++ b/sys/dev/ieee1394/firewire.c Tue Apr 06 10:45:15 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: firewire.c,v 1.29 2010/03/29 07:34:02 kiyohara Exp $ */
+/* $NetBSD: firewire.c,v 1.30 2010/04/06 10:45:15 reinoud Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.29 2010/03/29 07:34:02 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.30 2010/04/06 10:45:15 reinoud Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -1489,7 +1489,7 @@
xfer->tl, xfer->flag);
fw_dump_hdr(&xfer->send.hdr, "send");
fw_dump_hdr(&xfer->recv.hdr, "recv");
- cpu_Debugger();
+ KASSERT(FALSE);
return;
}
#endif
Home |
Main Index |
Thread Index |
Old Index