Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 13:43:07 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53339 for review
Message-ID:  <200405232043.i4NKh79u077358@repoman.freebsd.org>

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

Change 53339 by marcel@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);
 }
 



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