aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/yy-remap.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 44aa9a3..2ca2493 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2019-03-12 Pedro Alves <palves@redhat.com>
+ * yy-remap.h [TEST_CPNAMES] (YYFPRINTF): Don't define.
+
+2019-03-12 Pedro Alves <palves@redhat.com>
+
* cp-name-parser.y (main): Remove unused 'len' variable.
2019-03-12 Tom Tromey <tromey@adacore.com>
diff --git a/gdb/yy-remap.h b/gdb/yy-remap.h
index 579b7d2..cdd0aae 100644
--- a/gdb/yy-remap.h
+++ b/gdb/yy-remap.h
@@ -92,6 +92,8 @@
# define YYDEBUG 1 /* Default to yydebug support */
#endif
-#define YYFPRINTF parser_fprintf
+#ifndef TEST_CPNAMES
+# define YYFPRINTF parser_fprintf
+#endif
#endif /* YY_REMAP_H */