PERFORCE change 100825 for review
Wojciech A. Koszek
wkoszek at FreeBSD.org
Fri Jul 7 00:00:53 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100825
Change 100825 by wkoszek at wkoszek_laptop on 2006/07/07 00:00:33
Add stubs to db_trace.c
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/db_trace.c#2 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/db_trace.c#2 (text+ko) ====
@@ -27,3 +27,58 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+
+#include <sys/param.h>
+#include <sys/proc.h>
+#include <sys/kdb.h>
+#include <sys/stack.h>
+#include <machine/asm.h>
+#include <machine/cpufunc.h>
+#include <machine/db_machdep.h>
+#include <machine/pcb.h>
+#include <machine/vmparam.h>
+#include <ddb/ddb.h>
+#include <ddb/db_access.h>
+#include <ddb/db_sym.h>
+#include <ddb/db_output.h>
+
+#if 0
+static void
+db_stack_trace_cmd(db_expr_t addr, db_expr_t count)
+{
+}
+#endif
+
+void
+db_md_list_watchpoints()
+{
+}
+
+int
+db_md_clr_watchpoint(db_expr_t addr, db_expr_t size)
+{
+ return (0);
+}
+
+int
+db_md_set_watchpoint(db_expr_t addr, db_expr_t size)
+{
+ return (0);
+}
+
+int
+db_trace_thread(struct thread *thr, int count)
+{
+ return (0);
+}
+
+void
+db_trace_self(void)
+{
+ db_trace_thread(curthread, -1);
+}
+
+void
+stack_save(struct stack *st)
+{
+}
More information about the p4-projects
mailing list