X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fcgen-utils.c;h=4b69ac5a5748457a01a33fab9ba368277a442246;hb=a435742a7fb32f6320ce0e6074e2500e28378104;hp=b16a608063e18975f3b00c9804aa9143769c0606;hpb=618f726fcb851883a0094aa7fa17003889b7189f;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c index b16a608063..4b69ac5a57 100644 --- a/sim/common/cgen-utils.c +++ b/sim/common/cgen-utils.c @@ -1,5 +1,5 @@ /* Support code for various pieces of CGEN simulators. - Copyright (C) 1996-2016 Free Software Foundation, Inc. + Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB, the GNU debugger. @@ -28,10 +28,7 @@ along with this program. If not, see . */ #define SEMOPS_DEFINE_INLINE #include "cgen-ops.h" -#undef min -#define min(a,b) ((a) < (b) ? (a) : (b)) - -const char *mode_names[] = { +const char * const mode_names[] = { "VOID", "BI", "QI",