mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Fix "set debug parser"
While debugging my longer series, I discovered that I broken "set debug parser" a couple years ago. This patch fixes it and adds a minimal test case so that it, hopefully, will not break again. This patch also adds parser debugging to the C++ name canonicalizer. Thanks to Tom de Vries for fixing the test case.
This commit is contained in:
@@ -60,8 +60,8 @@ show_expressiondebug (struct ui_file *file, int from_tty,
|
||||
}
|
||||
|
||||
|
||||
/* True if an expression parser should set yydebug. */
|
||||
static bool parser_debug;
|
||||
/* See parser-defs.h. */
|
||||
bool parser_debug;
|
||||
|
||||
static void
|
||||
show_parserdebug (struct ui_file *file, int from_tty,
|
||||
|
||||
Reference in New Issue
Block a user