Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 14:00:36 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53350 for review
Message-ID:  <200405232100.i4NL0as1079787@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53350

Change 53350 by marcel@marcel_nfs on 2004/05/23 14:00:33

	s/DDB/KDB/g
	s/db_alt_break()/kdb_alt_break()/g
	include <sys/kdb.h>

Affected files ...

.. //depot/projects/gdb/sys/dev/zs/zs.c#5 edit

Differences ...

==== //depot/projects/gdb/sys/dev/zs/zs.c#5 (text+ko) ====

@@ -72,7 +72,6 @@
  * Zilog Z8530 Dual UART driver.
  */
 
-#include "opt_ddb.h"
 #include "opt_comconsole.h"
 
 #include <sys/param.h>
@@ -82,6 +81,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>
@@ -92,8 +92,6 @@
 #include <sys/syslog.h>
 #include <sys/tty.h>
 
-#include <ddb/ddb.h>
-
 #include <dev/zs/z8530reg.h>
 #include <dev/zs/z8530var.h>
 
@@ -360,9 +358,10 @@
 
 			if ((rr1 & (ZSRR1_FE | ZSRR1_DO | ZSRR1_PE)) != 0)
 				ZS_WRITE(sc, sc->sc_csr, ZSWR0_RESET_ERRORS);
-#if defined(DDB) && defined(ALT_BREAK_TO_DEBUGGER)
+#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER)
 			if (sc->sc_console != 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;
 			*sc->sc_iput++ = rr1;
@@ -374,7 +373,7 @@
 	if ((rr3 & ZSRR3_IP_B_STAT) != 0) {
 		rr0 = ZS_READ(sc, sc->sc_csr);
 		ZS_WRITE(sc, sc->sc_csr, ZSWR0_RESET_STATUS);
-#if defined(DDB) && defined(BREAK_TO_DEBUGGER)
+#if defined(KDB) && defined(BREAK_TO_DEBUGGER)
 		if (sc->sc_console != 0 && (rr0 & ZSRR0_BREAK) != 0)
 			brk = 1;
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405232100.i4NL0as1079787>