gdb/linux-record: Fix [gs]etgroups16 syscall
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index c6d018f97844c599738549cc94ba3bc473e3cc19..5603333263b923e315db25792b52a0646e194543 100644 (file)
@@ -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.022872 seconds and 4 git commands to generate.