The ARI script flagged the use of the __func__ variable, which
is normally not allowed (not defined in C90). However, this particular
use is OK, as the reference is only made when __STDC_VERSION__ >=
199901L. So, add an "ARI:" comment to explicitly OK this use.
gdb/ChangeLog:
* common/common-utils.h: Add "ARI:" comment beside __func__
reference.
+2014-01-22 Joel Brobecker <brobecker@adacore.com>
+
+ * common/common-utils.h: Add "ARI:" comment beside __func__
+ reference.
+
2014-01-22 Joel Brobecker <brobecker@adacore.com>
* common/common-utils.h (FUNCTION_NAME): Expand the macro's
#define FUNCTION_NAME __PRETTY_FUNCTION__
#else
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
-#define FUNCTION_NAME __func__
+#define FUNCTION_NAME __func__ /* ARI: func */
#endif
#endif