diff options
author | 2003-05-08 16:05:32 +0000 | |
---|---|---|
committer | 2003-05-08 16:05:32 +0000 | |
commit | b04037b01b31dc70548cff200a9b69eca6c394f0 (patch) | |
tree | 4457c4081cb49d929c37849c1017993bddd6873a | |
parent | use NULL to indicate failure in functions that return pointers, not FALSE. (diff) | |
download | wireguard-openbsd-b04037b01b31dc70548cff200a9b69eca6c394f0.tar.xz wireguard-openbsd-b04037b01b31dc70548cff200a9b69eca6c394f0.zip |
Put newline on end of disasm so that x /i <addr>,<cnt> works correctly.
-rw-r--r-- | sys/arch/powerpc/ddb/db_disasm.c | 4 |
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; } } |