diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/c-lang.h | 1 | ||||
-rw-r--r-- | gdb/d-lang.c | 1 | ||||
-rw-r--r-- | gdb/rust-lang.c | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 50435b6..77aeb77e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2020-11-25 Tom Tromey <tom@tromey.com> + + * d-lang.c: Include parser-defs.h. + * rust-lang.c: Include parser-defs.h. + * c-lang.h: Do not include parser-defs.h. + 2020-11-24 Simon Marchi <simon.marchi@polymtl.ca> * regcache.h (struct cached_reg): Remove typedef. diff --git a/gdb/c-lang.h b/gdb/c-lang.h index 6c5d0d8..896f8e1 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -28,7 +28,6 @@ struct parser_state; #include "value.h" #include "macroexp.h" -#include "parser-defs.h" #include "gdbsupport/enum-flags.h" diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 2e7b7b6..97cc106 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -26,6 +26,7 @@ #include "demangle.h" #include "cp-support.h" #include "gdbarch.h" +#include "parser-defs.h" /* The name of the symbol to use to get the name of the main subprogram. */ static const char D_MAIN[] = "D main"; diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 407be56..fb2f2d5 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -38,6 +38,7 @@ #include <string> #include <vector> #include "cli/cli-style.h" +#include "parser-defs.h" /* See rust-lang.h. */ |