Implement proper "startup-with-shell" support on gdbserver
[deliverable/binutils-gdb.git] / opcodes / xc16x-desc.c
index e741ab804373346730b4e85d51af925e1b5ef4ad..4df96209e539fe2319c53a65c3b7cae5b174b44a 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright (C) 1996-2015 Free Software Foundation, Inc.
+Copyright (C) 1996-2017 Free Software Foundation, Inc.
 
 This file is part of the GNU Binutils and/or GDB, the GNU debugger.
 
@@ -3196,7 +3196,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of xc16x_cgen_cpu_open to build the hardware table.  */
@@ -3410,7 +3410,8 @@ xc16x_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (xc16x_cgen_mach_table, name);
 
-           machs |= 1 << mach->num;
+           if (mach != NULL)
+             machs |= 1 << mach->num;
            break;
          }
        case CGEN_CPU_OPEN_ENDIAN :
This page took 0.026244 seconds and 4 git commands to generate.