From: Mark Wielaard Date: Thu, 12 Feb 2015 15:51:53 +0000 (+0100) Subject: Remove true and false ARI checks now that we use stdbool.h. X-Git-Tag: users/hjl/linux/release/2.25.51.0.2~2^2~40^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=171e6b1cf621bff93e1aea3fe76bdaa6132df9f6;p=thirdparty%2Fbinutils-gdb.git Remove true and false ARI checks now that we use stdbool.h. gdb/ChangeLog: * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0bd07928eca..396fbd0b981 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-02-12 Mark Wielaard + + * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false". + 2015-02-13 Doug Evans * cp-namespace.c (cp_basic_lookup_symbol): Rename parameter diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh index b868a17e175..52d8ab1a08a 100644 --- a/gdb/contrib/ari/gdb_ari.sh +++ b/gdb/contrib/ari/gdb_ari.sh @@ -1145,26 +1145,6 @@ Do not use `boolean'\'', use `int'\'' instead" } } -BEGIN { doc["false"] = "\ -Definitely do not use `false'\'' in boolean expressions" - category["false"] = ari_regression -} -/(^|[^_[:alnum:]])false([^_[:alnum:]]|$)/ { - if (is_yacc_or_lex == 0) { - fail("false") - } -} - -BEGIN { doc["true"] = "\ -Do not try to use `true'\'' in boolean expressions" - category["true"] = ari_regression -} -/(^|[^_[:alnum:]])true([^_[:alnum:]]|$)/ { - if (is_yacc_or_lex == 0) { - fail("true") - } -} - # Typedefs that are either redundant or can be reduced to `struct # type *''. # Must be placed before if assignment otherwise ARI exceptions