Prefer object over notype symbols when disassembling
[deliverable/binutils-gdb.git] / sim / mn10300 / dv-mn103iop.c
index 04bf5028f194bbf2418f4dce008add20ebd503ec..7fa6c6c8e80fb134fd9b281468d71fad87152ae5 100644 (file)
@@ -1,6 +1,6 @@
 /*  This file is part of the program GDB, the GNU debugger.
     
-    Copyright (C) 1998, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+    Copyright (C) 1998-2019 Free Software Foundation, Inc.
     Contributed by Cygnus Solutions.
     
     This program is free software; you can redistribute it and/or modify
@@ -462,7 +462,7 @@ write_dedicated_control_reg (struct hw *me,
       /* select on io_port_reg: */
       if ( io_port_reg == P2SS )
        {
-         if ( (buf && 0xfc)  != 0 )
+         if ( (buf & 0xfc)  != 0 )
            {
              hw_abort(me, "Cannot write to read-only bits in p2ss.");
            }
@@ -473,7 +473,7 @@ write_dedicated_control_reg (struct hw *me,
        }
       else
        {
-         if ( (buf && 0xf0) != 0 )
+         if ( (buf & 0xf0) != 0 )
            {
              hw_abort(me, "Cannot write to read-only bits in p4ss.");
            }
This page took 0.030251 seconds and 4 git commands to generate.