summaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-02-10 18:57:21 +0000
committerTom Tromey <tromey@redhat.com>2010-02-10 18:57:21 +0000
commit92981e24467c4247c8bf16780cac90b340c0a4c2 (patch)
tree2d06fe7a6dc3736da642110496f8417d85b4a28c /gdb/parser-defs.h
parent9fd3625f79a17480dd4017136edf4f9a21e834df (diff)
downloadbinutils-gdb-92981e24467c4247c8bf16780cac90b340c0a4c2.tar.gz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 6fcf7ae5305..c4eb1a042a8 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;