aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-02-29 21:03:12 +1030
committerAlan Modra <amodra@gmail.com>2024-02-29 21:07:04 +1030
commitf757c5cae97b1437f4fcf2e25c53376775ea541f (patch)
treee5507d3b9733352b7b6f8d28c91dcd115063808d /cpu
parent159afbb7617d2c8a9cd3f3350374711f37f60442 (diff)
downloadgdb-f757c5cae97b1437f4fcf2e25c53376775ea541f.zip
gdb-f757c5cae97b1437f4fcf2e25c53376775ea541f.tar.gz
gdb-f757c5cae97b1437f4fcf2e25c53376775ea541f.tar.bz2
PR21739, Inconsistent diagnostics
PR 21739 cpu/ * mep.opc (parse_lo16, parse_unsigned7): Mark %function message as no-c-format. opcodes/ * mep-asm.c: Regenerate.
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mep.opc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/mep.opc b/cpu/mep.opc
index ebe119a..33dd63b 100644
--- a/cpu/mep.opc
+++ b/cpu/mep.opc
@@ -349,6 +349,7 @@ parse_lo16 (CGEN_CPU_DESC cd,
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
@@ -545,6 +546,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return parse_mep_alignu (cd, strp, opindex, valuep);