X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fxstormy16-desc.c;h=76b8f078b3de0bc9e627e272013b9df6442134e4;hb=67aa8be4cb43cd94bc322fed8bdba48b3c8719c4;hp=38746d435ab76ba0ed0ca5c2e652d73a0676ab71;hpb=43e65147c07b1400ae0dbb6694882eceb2363713;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/xstormy16-desc.c b/opcodes/xstormy16-desc.c index 38746d435a..76b8f078b3 100644 --- a/opcodes/xstormy16-desc.c +++ b/opcodes/xstormy16-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. @@ -1164,7 +1164,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of xstormy16_cgen_cpu_open to build the hardware table. */ @@ -1378,7 +1378,8 @@ xstormy16_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (xstormy16_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN :