Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k fix cut-n-paste



details:   https://anonhg.NetBSD.org/src/rev/f4b21c92ebd5
branches:  trunk
changeset: 332443:f4b21c92ebd5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 21 16:32:51 2014 +0000

description:
fix cut-n-paste

diffstat:

 sys/arch/m68k/m68k/db_disasm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b4fa0961075a -r f4b21c92ebd5 sys/arch/m68k/m68k/db_disasm.c
--- a/sys/arch/m68k/m68k/db_disasm.c    Sun Sep 21 15:49:21 2014 +0000
+++ b/sys/arch/m68k/m68k/db_disasm.c    Sun Sep 21 16:32:51 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.40 2013/10/19 19:13:51 martin Exp $    */
+/*     $NetBSD: db_disasm.c,v 1.41 2014/09/21 16:32:51 christos Exp $  */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.40 2013/10/19 19:13:51 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.41 2014/09/21 16:32:51 christos Exp $");
 
 #include <sys/param.h>
 #ifdef _KERNEL
@@ -1189,7 +1189,7 @@
                addstr(dbuf, "@-,");
                PRINT_AREG(dbuf,BITFIELD(opc,11,9));
                addstr(dbuf, "@-");
-       } else if (IS_INST(SBCDA,opc)) {
+       } else if (IS_INST(SBCDD,opc)) {
                addstr(dbuf, "sbcd\t");
                PRINT_DREG(dbuf,BITFIELD(opc,2,0));
                addchar(',');
@@ -1247,7 +1247,7 @@
                addstr(dbuf, "@-,");
                PRINT_AREG(dbuf,BITFIELD(opc,11,9));
                addstr(dbuf, "@-");
-       } else if (IS_INST(ABCDA,opc)) {
+       } else if (IS_INST(ABCDD,opc)) {
                addstr(dbuf, "abcd\t");
                PRINT_DREG(dbuf,BITFIELD(opc,2,0));
                addchar(',');



Home | Main Index | Thread Index | Old Index