X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fmt-desc.c;h=24e2af02f5ecc6b751abbb2b976400de962d4f79;hb=4274208406762da7af6dd697f44d8e6895061530;hp=ed5d697d03f2180b0ee938b1f3f56ada360726fe;hpb=43e65147c07b1400ae0dbb6694882eceb2363713;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mt-desc.c b/opcodes/mt-desc.c index ed5d697d03..24e2af02f5 100644 --- a/opcodes/mt-desc.c +++ b/opcodes/mt-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. @@ -993,7 +993,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of mt_cgen_cpu_open to build the hardware table. */ @@ -1207,7 +1207,8 @@ mt_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (mt_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN :