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/doc | |
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/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index dbd12df..b5bef2f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-10 Tom Tromey <tromey@redhat.com> + + * gdb.texinfo (Debugging Output): Document set debug parser and + show debug parser. + 2010-02-09 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (Predefined Target Types): Add i387_ext, diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 81c0b6b..4fc064d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18848,6 +18848,15 @@ is off. @item show debug overload Displays the current state of displaying @value{GDBN} C@t{++} overload debugging info. +@cindex expression parser, debugging info +@cindex debug expression parser +@item set debug parser +Turns on or off the display of expression parser debugging output. +Internally, this sets the @code{yydebug} variable in the expression +parser. @xref{Tracing, , Tracing Your Parser, bison, Bison}, for +details. The default is off. +@item show debug parser +Show the current state of expression parser debugging. @cindex packets, reporting on stdout @cindex serial connections, debugging @cindex debug remote protocol |