diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/db_disasm.c | 10 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/db_interface.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/db_trace.c | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/sparc64/sparc64/db_disasm.c b/sys/arch/sparc64/sparc64/db_disasm.c index 36efa77f892..49332673cfb 100644 --- a/sys/arch/sparc64/sparc64/db_disasm.c +++ b/sys/arch/sparc64/sparc64/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.3 2002/03/14 03:16:01 millert Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.4 2002/05/16 13:01:41 art Exp $ */ /* $NetBSD: db_disasm.c,v 1.9 2000/08/16 11:29:42 pk Exp $ */ /* @@ -1006,19 +1006,19 @@ db_disasm(loc, altfmt) val = (((insn>>20)&0x3)<<13)|(insn & 0x1fff); val = SIGNEX(val, 16); db_printsym((db_addr_t)(loc + (4 * val)), - DB_STGY_ANY); + DB_STGY_ANY, db_printf); break; case 'm': db_printsym((db_addr_t)(loc + (4 * SIGNEX(insn, 22))), - DB_STGY_ANY); + DB_STGY_ANY, db_printf); break; case 'u': db_printsym((db_addr_t)(loc + (4 * SIGNEX(insn, 19))), - DB_STGY_ANY); + DB_STGY_ANY, db_printf); break; case 'n': db_printsym((db_addr_t)(loc + (4 * SIGNEX(insn, 30))), - DB_STGY_PROC); + DB_STGY_PROC, db_printf); break; case 's': db_printf("%%asi"); diff --git a/sys/arch/sparc64/sparc64/db_interface.c b/sys/arch/sparc64/sparc64/db_interface.c index 9dc8da788a7..f46aec8dab9 100644 --- a/sys/arch/sparc64/sparc64/db_interface.c +++ b/sys/arch/sparc64/sparc64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.7 2002/03/14 04:16:55 jason Exp $ */ +/* $OpenBSD: db_interface.c,v 1.8 2002/05/16 13:01:41 art Exp $ */ /* $NetBSD: db_interface.c,v 1.61 2001/07/31 06:55:47 eeh Exp $ */ /* @@ -841,7 +841,7 @@ db_print_trace_entry(te, i) (int)te->tt, (unsigned long long)te->tstate, (unsigned long long)te->tfault, (unsigned long long)te->tsp, (unsigned long long)te->tpc); - db_printsym((u_long)te->tpc, DB_STGY_PROC); + db_printsym((u_long)te->tpc, DB_STGY_PROC, db_printf); db_printf(": "); if ((te->tpc && !(te->tpc&0x3)) && curproc && diff --git a/sys/arch/sparc64/sparc64/db_trace.c b/sys/arch/sparc64/sparc64/db_trace.c index fa08ff82701..bfb21ffd743 100644 --- a/sys/arch/sparc64/sparc64/db_trace.c +++ b/sys/arch/sparc64/sparc64/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.4 2002/03/14 03:16:01 millert Exp $ */ +/* $OpenBSD: db_trace.c,v 1.5 2002/05/16 13:01:41 art Exp $ */ /* $NetBSD: db_trace.c,v 1.23 2001/07/10 06:06:16 eeh Exp $ */ /* @@ -159,7 +159,7 @@ db_stack_trace_cmd(addr, have_addr, count, modif) (*pr)("%x, ", (u_int)KLOAD(f32->fr_arg[i])); (*pr)("%x) at ", (u_int)KLOAD(f32->fr_arg[i])); } - db_printsym(pc, DB_STGY_PROC); + db_printsym(pc, DB_STGY_PROC, pr); (*pr)("\n"); } } @@ -220,7 +220,7 @@ u_int64_t frame; (unsigned long long)f->fr_fp, (unsigned long long)f->fr_pc); /* Sometimes this don't work. Dunno why. */ - db_printsym(f->fr_pc, DB_STGY_PROC); + db_printsym(f->fr_pc, DB_STGY_PROC, db_printf); db_printf("\n"); } else { struct frame64 fr; @@ -254,7 +254,7 @@ u_int64_t frame; db_printf("%8x %8x %8x %8x %8x %8x %8x=sp %8x=pc:", f->fr_arg[0], f->fr_arg[1], f->fr_arg[2], f->fr_arg[3], f->fr_arg[4], f->fr_arg[5], f->fr_fp, f->fr_pc); - db_printsym(f->fr_pc, DB_STGY_PROC); + db_printsym(f->fr_pc, DB_STGY_PROC, db_printf); db_printf("\n"); } else { struct frame32 fr; |