summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/mips64/mips64/db_disasm.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/db_disasm.c b/sys/arch/mips64/mips64/db_disasm.c
index aa1da19584a..7ec3da65ccb 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.4 2005/01/31 21:35:50 grange Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.5 2006/01/15 14:36:09 miod Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)kadb.c 8.1 (Berkeley) 6/10/93
- * $Id: db_disasm.c,v 1.4 2005/01/31 21:35:50 grange Exp $
+ * $Id: db_disasm.c,v 1.5 2006/01/15 14:36:09 miod Exp $
*/
#include <sys/param.h>
@@ -391,6 +391,13 @@ md_printins(int ins, int mdbdot)
i.IType.imm);
break;
+ case OP_CACHE:
+ db_printf("%s\t0x%x,%d(%s)", op_name[i.IType.op],
+ i.IType.rt,
+ (short)i.IType.imm,
+ reg_name[i.IType.rs]);
+ break;
+
case OP_ADDI:
case OP_DADDI:
case OP_ADDIU: