diff options
author | Pierre Muller <muller@sourceware.org> | 2002-06-21 14:32:10 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-06-21 14:32:10 +0000 |
commit | f461f5cf7932cc292cafd659b4bc101967f96dee (patch) | |
tree | 70e73ce75d2927180bd2f3555f7478a75d74d4ce /gdb/ada-exp.y | |
parent | 19d833a2fa6c344238385c4edadb3ffdb9c71509 (diff) | |
download | fsf-binutils-gdb-f461f5cf7932cc292cafd659b4bc101967f96dee.zip fsf-binutils-gdb-f461f5cf7932cc292cafd659b4bc101967f96dee.tar.gz fsf-binutils-gdb-f461f5cf7932cc292cafd659b4bc101967f96dee.tar.bz2 |
2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
* parse.c (parse_fprintf): New function used to avoid calls to
fprintf in bison parser generated debug code.
* parser-defs.h: Declaration of new parse_fprintf function.
* ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y:
Set YYDEBUG to 1 by default.
Set YYFPRINTF as parse_fprintf.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 7d46dd2..67185a3 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -92,9 +92,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define yytoks ada_toks /* With YYDEBUG defined */ #ifndef YYDEBUG -#define YYDEBUG 0 /* Default to no yydebug support */ +#define YYDEBUG 1 /* Default to yydebug support */ #endif +#define YYFPRINTF parser_fprintf + struct name_info { struct symbol* sym; struct minimal_symbol* msym; |