PERFORCE change 104570 for review
John Birrell
jb at FreeBSD.org
Sat Aug 19 23:45:50 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104570
Change 104570 by jb at jb_zoo on 2006/08/19 23:45:05
Add the puts method.
Affected files ...
.. //depot/projects/dtrace/src/sys/gdb/gdb_cons.c#3 edit
Differences ...
==== //depot/projects/dtrace/src/sys/gdb/gdb_cons.c#3 (text) ====
@@ -159,6 +159,18 @@
}
}
+static void
+gdb_cnputs(struct consdev *cp, char *p, int num)
+{
+ int i;
+
+ for (i = 0; i < num; i++) {
+ if (p[i] == '\n')
+ gdb_cnputc(cp, '\r');
+ gdb_cnputc(cp, p[i] & 0xff);
+ }
+}
+
CONSOLE_DRIVER(gdb);
/*
More information about the p4-projects
mailing list