summaryrefslogtreecommitdiff
path: root/sys/ddb/db_break.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-16 13:01:42 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-16 13:01:42 +0000
commit744eba101484d48227ec645c0fbd3bb8bdd65256 (patch)
treed15075c3be1601e0e94b70e63d1065e600d37521 /sys/ddb/db_break.c
parent296587d70142f38baff6e71b1adab7403c086dc7 (diff)
Add a an argument to db_printsym that specifies the printf function
we'll use for printing the information. miod@ ok
Diffstat (limited to 'sys/ddb/db_break.c')
-rw-r--r--sys/ddb/db_break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_break.c b/sys/ddb/db_break.c
index 2e0c91da53b..144b3eddbaa 100644
--- a/sys/ddb/db_break.c
+++ b/sys/ddb/db_break.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_break.c,v 1.11 2001/11/28 16:13:29 art Exp $ */
+/* $OpenBSD: db_break.c,v 1.12 2002/05/16 13:01:41 art Exp $ */
/* $NetBSD: db_break.c,v 1.7 1996/03/30 22:30:03 christos Exp $ */
/*
@@ -268,7 +268,7 @@ db_list_breakpoints()
db_printf("%s%p %5d ",
db_map_current(bkpt->map) ? "*" : " ",
bkpt->map, bkpt->init_count);
- db_printsym(bkpt->address, DB_STGY_PROC);
+ db_printsym(bkpt->address, DB_STGY_PROC, db_printf);
db_printf("\n");
}
}