X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fm32c-desc.c;h=54e2912d5d5dff10bc5b9a1fa03e5d43a290aedf;hb=aefd8b33d97bded58e51d75271f99e1eaec9fb28;hp=1cd50abffc3081862434b961770881dfd3fbb587;hpb=43e65147c07b1400ae0dbb6694882eceb2363713;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/m32c-desc.c b/opcodes/m32c-desc.c index 1cd50abffc..54e2912d5d 100644 --- a/opcodes/m32c-desc.c +++ b/opcodes/m32c-desc.c @@ -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. @@ -62880,7 +62880,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of m32c_cgen_cpu_open to build the hardware table. */ @@ -63094,7 +63094,8 @@ m32c_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (m32c_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN :