PERFORCE change 97667 for review

Kip Macy kmacy at FreeBSD.org
Tue May 23 05:51:22 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=97667

Change 97667 by kmacy at kmacy_storage:sun4v_work on 2006/05/23 05:49:44

	make sure alt break to DDB works

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hvcons.c#3 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hvcons.c#3 (text+ko) ====

@@ -202,16 +202,16 @@
 #if defined(KDB)
 		if (l == H_BREAK || l ==  H_HUP)
 			kdb_enter("Break sequence on console");
+
+	if (kdb_alt_break(ch, &alt_break_state))
+		kdb_enter("Break sequence on console");
 #endif
 		if (l != -2 && l != 0) {
 			return (-1);
 		}
 	}
 
-#if defined(KDB) 
-	if (kdb_alt_break(ch, &alt_break_state))
-		kdb_enter("Break sequence on console");
-#endif
+
 
 	return (ch);
 }
@@ -226,8 +226,6 @@
 #if defined(KDB)
 		if (l == H_BREAK || l ==  H_HUP)
 			kdb_enter("Break sequence on console");
-#endif
-#if defined(KDB) 
 		if (kdb_alt_break(ch, &alt_break_state))
 			kdb_enter("Break sequence on console");
 #endif


More information about the p4-projects mailing list