Use all_non_exited_inferiors in infrun.c
[deliverable/binutils-gdb.git] / opcodes / msp430-decode.opc
index 084a6a54233f3ad47e35ac36909e9407cebf694f..50e27bca30d655de6c484859c8eeccafe04392de 100644 (file)
@@ -1,5 +1,5 @@
 /* -*- c -*- */
-/* Copyright (C) 2013-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2020 Free Software Foundation, Inc.
    Contributed by Red Hat.
    Written by DJ Delorie.
 
@@ -24,7 +24,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "ansidecl.h"
+#include "bfd.h"
+#include "opintl.h"
 #include "opcode/msp430-decode.h"
 
 static int trace = 0;
@@ -140,9 +141,9 @@ immediate (int bytes, int sign_extend, LocalData *ld)
        i -= 0x100000000ULL;
       break;
     default:
-      fprintf (stderr,
-              "Programmer error: immediate() called with invalid byte count %d\n",
-              bytes);
+      opcodes_error_handler
+       (_("internal error: immediate() called with invalid byte count %d"),
+          bytes);
       abort ();
     }
   return i;
@@ -237,6 +238,7 @@ encode_as (int reg, int as, LocalData *ld, int ext)
          break;
        case MSR_None:
          SA (0);
+         break;
        default:
          SM (reg, 0);
          break;
This page took 0.023868 seconds and 4 git commands to generate.