svn commit: r320741 - head/sys/ddb

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Jul 6 15:27:35 UTC 2017


Author: trasz
Date: Thu Jul  6 15:27:34 2017
New Revision: 320741
URL: https://svnweb.freebsd.org/changeset/base/320741

Log:
  Make ^c work in ddb(4).
  
  Obtained from:	CheriBSD
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/ddb/db_input.c

Modified: head/sys/ddb/db_input.c
==============================================================================
--- head/sys/ddb/db_input.c	Thu Jul  6 15:21:57 2017	(r320740)
+++ head/sys/ddb/db_input.c	Thu Jul  6 15:27:34 2017	(r320741)
@@ -195,6 +195,7 @@ db_inputchar(c)
 		    db_delete(1, DEL_FWD);
 		break;
 	    case CTRL('u'):
+	    case CTRL('c'):
 		/* kill entire line: */
 		/* at first, delete to beginning of line */
 		if (db_lc > db_lbuf_start)


More information about the svn-src-all mailing list