diff options
author | Tom Tromey <tromey@redhat.com> | 2010-02-10 18:57:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-02-10 18:57:21 +0000 |
commit | 92981e24467c4247c8bf16780cac90b340c0a4c2 (patch) | |
tree | 2d06fe7a6dc3736da642110496f8417d85b4a28c /gdb/parser-defs.h | |
parent | 9fd3625f79a17480dd4017136edf4f9a21e834df (diff) | |
download | gdb-92981e24467c4247c8bf16780cac90b340c0a4c2.zip gdb-92981e24467c4247c8bf16780cac90b340c0a4c2.tar.gz gdb-92981e24467c4247c8bf16780cac90b340c0a4c2.tar.bz2 |
gdb
* parser-defs.h (parser_debug): Declare.
* parse.c (_initialize_parse): Install "debug parser" set/show
command.
(parser_debug): New global.
(show_parserdebug): New function.
* c-exp.y (c_parse): Set yydebug.
gdb/testsuite
* gdb.texinfo (Debugging Output): Document set debug parser and
show debug parser.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 6fcf7ae..c4eb1a0 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -29,6 +29,8 @@ struct block; +extern int parser_debug; + extern struct expression *expout; extern int expout_size; extern int expout_ptr; |