Module Name: src
Committed By: chs
Date: Mon Feb 27 06:56:33 UTC 2017
Modified Files:
src/sys/arch/mips/mips: db_disasm.c
Log Message:
the second operand to cfc1/ctc1 isn't an FPU data register
so don't make it look like one.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/mips/mips/db_disasm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/db_disasm.c
diff -u src/sys/arch/mips/mips/db_disasm.c:1.30 src/sys/arch/mips/mips/db_disasm.c:1.31
--- src/sys/arch/mips/mips/db_disasm.c:1.30 Sat Jun 27 03:31:29 2015
+++ src/sys/arch/mips/mips/db_disasm.c Mon Feb 27 06:56:32 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.30 2015/06/27 03:31:29 matt Exp $ */
+/* $NetBSD: db_disasm.c,v 1.31 2017/02/27 06:56:32 chs Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.30 2015/06/27 03:31:29 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.31 2017/02/27 06:56:32 chs Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -623,13 +623,13 @@ db_disasm_insn(int insn, db_addr_t loc,
break;
case OP_CT:
- db_printf("ctc1\t%s,f%d",
+ db_printf("ctc1\t%s,%d",
reg_name[i.RType.rt],
i.RType.rd);
break;
case OP_CF:
- db_printf("cfc1\t%s,f%d",
+ db_printf("cfc1\t%s,%d",
reg_name[i.RType.rt],
i.RType.rd);
break;