2016-03-29 Don Breazeal <donb@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index c6d018f97844c599738549cc94ba3bc473e3cc19..62d4ca13aa550f8b0980f45a0d3fd4fc3d3ab687 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for the Matsushita MN10300 for GDB, the GNU debugger.
 
-   Copyright (C) 1996-2015 Free Software Foundation, Inc.
+   Copyright (C) 1996-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1385,10 +1385,7 @@ mn10300_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, int dwarf2)
 
   if (dwarf2 < 0
       || dwarf2 >= ARRAY_SIZE (dwarf2_to_gdb))
-    {
-      warning (_("Bogus register number in debug info: %d"), dwarf2);
-      return -1;
-    }
+    return -1;
 
   return dwarf2_to_gdb[dwarf2];
 }
This page took 0.024002 seconds and 4 git commands to generate.