summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-11 17:34:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-11 17:34:54 +0000
commitc171ef9367883877a9ae53484ac1de8aa7f0e765 (patch)
tree1d68425736085e3494f918e128b9d1b245c26445 /sys/arch/mips64
parenta5bf8aa3599504350626105dd871beff7a31dde5 (diff)
Correctly disassemble ssnop.
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/db_disasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/db_disasm.c b/sys/arch/mips64/mips64/db_disasm.c
index bfcec914f61..1d45b6873ac 100644
--- a/sys/arch/mips64/mips64/db_disasm.c
+++ b/sys/arch/mips64/mips64/db_disasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_disasm.c,v 1.13 2010/09/20 23:37:08 miod Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.14 2010/11/11 17:34:53 miod Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -51,7 +51,7 @@
* SUCH DAMAGE.
*
* from: @(#)kadb.c 8.1 (Berkeley) 6/10/93
- * $Id: db_disasm.c,v 1.13 2010/09/20 23:37:08 miod Exp $
+ * $Id: db_disasm.c,v 1.14 2010/11/11 17:34:53 miod Exp $
*/
#ifdef _KERNEL
@@ -589,7 +589,7 @@ dbmd_print_insn(uint32_t ins, db_addr_t mdbdot, int (*pr)(const char *, ...))
if (i.word == 0) {
(*pr)("nop");
break;
- } else if (i.word == 1 << 5) {
+ } else if (i.word == 1 << 6) {
(*pr)("ssnop");
break;
}