summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-05-08 16:05:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-05-08 16:05:33 +0000
commit81b71bdfc024c2cebefb22f9d2e30825488be4a0 (patch)
treee712840548b6f2bfd71219122ba28dec4844cef4 /sys
parent9ad8b19e0518036d927fee1a2c85dee61fe622ee (diff)
Put newline on end of disasm so that x /i <addr>,<cnt> works correctly.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/ddb/db_disasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/ddb/db_disasm.c b/sys/arch/powerpc/ddb/db_disasm.c
index 9aab14fe318..cb791200aa0 100644
--- a/sys/arch/powerpc/ddb/db_disasm.c
+++ b/sys/arch/powerpc/ddb/db_disasm.c
@@ -1,5 +1,5 @@
/* $NetBSD: db_disasm.c,v 1.8 2001/06/12 05:31:44 simonb Exp $ */
-/* $OpenBSD: db_disasm.c,v 1.6 2003/03/27 17:40:19 drahn Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.7 2003/05/08 16:05:32 drahn Exp $ */
/*
* Copyright (c) 1996 Dale Rahn. All rights reserved.
*
@@ -1112,7 +1112,7 @@ dis_ppc(u_int32_t addr, const struct opcode *opcodeset, instr_t instr)
if ((instr & op->mask) == op->code) {
found = 1;
disasm_fields(addr, op, instr, disasm_str);
- db_printf("%s%s",op->name, disasm_str);
+ db_printf("%s%s\n",op->name, disasm_str);
return;
}
}