diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-18 09:49:18 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-18 09:49:18 +0000 |
commit | 906979d106be653cd0c2ceec860f1e3fd621190b (patch) | |
tree | 614c96fdad124b5a879089edc51c2094140d7c66 /sys/arch/macppc/include | |
parent | c12bcfb0228a5dda70c310cb3d35a0e01e627f96 (diff) |
Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argument
that specifies which printf funciton it should use. Implement
db_stack_trace_cmd in MI code.
Thanks to miod@ for all the tests.
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r-- | sys/arch/macppc/include/db_machdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/include/db_machdep.h b/sys/arch/macppc/include/db_machdep.h index 8729634e918..970542767a8 100644 --- a/sys/arch/macppc/include/db_machdep.h +++ b/sys/arch/macppc/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.3 2002/03/14 01:26:36 millert Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.4 2002/05/18 09:49:17 art Exp $ */ /* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */ /* @@ -96,7 +96,7 @@ void kdb_kintr(void *); int kdb_trap(int, void *); void db_save_regs(struct trapframe *frame); void ddb_trap(void); -db_expr_t db_dumpframe(u_int32_t pframe); +db_expr_t db_dumpframe(u_int32_t pframe, int (*pr)(const char *, ...)); #endif /* _KERNEL */ |