diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-15 14:36:10 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-15 14:36:10 +0000 |
commit | 4558cd82301ede1b83ad3e03594c6357e02ddea2 (patch) | |
tree | 98a5ca8a6a0cde87750dc8c3001877fdcf2bea5c | |
parent | 05b3123e6141b8a5ec387e368fd6f06c50424643 (diff) |
Print cache instructions correctly.
-rw-r--r-- | sys/arch/mips64/mips64/db_disasm.c | 11 |
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: |