diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-16 13:01:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-16 13:01:42 +0000 |
commit | 744eba101484d48227ec645c0fbd3bb8bdd65256 (patch) | |
tree | d15075c3be1601e0e94b70e63d1065e600d37521 /sys/arch/alpha | |
parent | 296587d70142f38baff6e71b1adab7403c086dc7 (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/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/db_disasm.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/alpha/db_trace.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/db_disasm.c b/sys/arch/alpha/alpha/db_disasm.c index 21abd8d3639..5e82c406dc5 100644 --- a/sys/arch/alpha/alpha/db_disasm.c +++ b/sys/arch/alpha/alpha/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.15 2002/03/14 01:26:26 millert Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.16 2002/05/16 13:01:41 art Exp $ */ /* $NetBSD: db_disasm.c,v 1.8 2000/05/25 19:57:30 jhawk Exp $ */ /* @@ -1077,7 +1077,7 @@ loadstore_address: register_name(i.branch_format.ra)); branch_displacement: db_printsym(iadr + sizeof(alpha_instruction) + - (signed_immediate << 2), DB_STGY_PROC); + (signed_immediate << 2), DB_STGY_PROC, db_printf); break; default: /* diff --git a/sys/arch/alpha/alpha/db_trace.c b/sys/arch/alpha/alpha/db_trace.c index b0ecd7a2d9c..791cbb96d68 100644 --- a/sys/arch/alpha/alpha/db_trace.c +++ b/sys/arch/alpha/alpha/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.9 2002/03/14 01:26:26 millert Exp $ */ +/* $OpenBSD: db_trace.c,v 1.10 2002/05/16 13:01:41 art Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserverd. @@ -293,7 +293,7 @@ trapframe: #else db_printf(") at "); #endif - db_printsym(pc, DB_STGY_PROC); + db_printsym(pc, DB_STGY_PROC, db_printf); db_printf("\n"); /* |