PERFORCE change 53339 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sun May 23 13:43:40 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=53339
Change 53339 by marcel at marcel_nfs on 2004/05/23 13:42:08
s/DDB/KDB/g
s/db_alt_break()/kdb_alt_break()/g
include <sys/kdb.h>
Affected files ...
.. //depot/projects/gdb/sys/dev/sab/sab.c#5 edit
Differences ...
==== //depot/projects/gdb/sys/dev/sab/sab.c#5 (text+ko) ====
@@ -42,7 +42,6 @@
* SAB82532 Dual UART driver
*/
-#include "opt_ddb.h"
#include "opt_comconsole.h"
#include <sys/param.h>
@@ -52,6 +51,7 @@
#include <sys/cons.h>
#include <sys/fcntl.h>
#include <sys/interrupt.h>
+#include <sys/kdb.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/mutex.h>
@@ -62,8 +62,6 @@
#include <sys/syslog.h>
#include <sys/tty.h>
-#include <ddb/ddb.h>
-
#include <dev/ofw/openfirm.h>
#include <sparc64/ebus/ebusvar.h>
@@ -554,9 +552,10 @@
if (len != 0) {
for (i = 0; i < len; i++) {
c = SAB_READ(sc, SAB_RFIFO);
-#if defined(DDB) && defined(ALT_BREAK_TO_DEBUGGER)
+#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER)
if (sc->sc_console != 0 && (i & 1) == 0)
- brk = db_alt_break(c, &sc->sc_alt_break_state);
+ brk = kdb_alt_break(c,
+ &sc->sc_alt_break_state);
#endif
*sc->sc_iput++ = c;
if (sc->sc_iput == sc->sc_ibuf + sizeof(sc->sc_ibuf))
@@ -597,7 +596,7 @@
if (brk != 0)
breakpoint();
-
+
return (needsoft);
}
More information about the p4-projects
mailing list