mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Do not include parser-defs.h from c-lang.h
While working on another series, I noticed that c-lang.h does not need to include parser-defs.h. This patch makes this change, and fixes up the two .c files that needed this include. Tested by rebuilding. gdb/ChangeLog 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.
This commit is contained in:
@ -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>
|
2020-11-24 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* regcache.h (struct cached_reg): Remove typedef.
|
* regcache.h (struct cached_reg): Remove typedef.
|
||||||
|
@ -28,7 +28,6 @@ struct parser_state;
|
|||||||
|
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "macroexp.h"
|
#include "macroexp.h"
|
||||||
#include "parser-defs.h"
|
|
||||||
#include "gdbsupport/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
#include "cp-support.h"
|
#include "cp-support.h"
|
||||||
#include "gdbarch.h"
|
#include "gdbarch.h"
|
||||||
|
#include "parser-defs.h"
|
||||||
|
|
||||||
/* The name of the symbol to use to get the name of the main subprogram. */
|
/* The name of the symbol to use to get the name of the main subprogram. */
|
||||||
static const char D_MAIN[] = "D main";
|
static const char D_MAIN[] = "D main";
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "cli/cli-style.h"
|
#include "cli/cli-style.h"
|
||||||
|
#include "parser-defs.h"
|
||||||
|
|
||||||
/* See rust-lang.h. */
|
/* See rust-lang.h. */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user