diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-10 10:43:17 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-10 11:14:25 -0700 |
commit | b7dc48b4a8006abb552c5e7d22f9841c86f2537d (patch) | |
tree | 5d49699949c769134485d1e6bd1e4db9fab77624 /gdb/Makefile.in | |
parent | 6f36b6d29fdff5be77ec6dfdac693d5e4b5dee50 (diff) | |
download | binutils-b7dc48b4a8006abb552c5e7d22f9841c86f2537d.zip binutils-b7dc48b4a8006abb552c5e7d22f9841c86f2537d.tar.gz binutils-b7dc48b4a8006abb552c5e7d22f9841c86f2537d.tar.bz2 |
Move C-related declarations to compile-c.h
This patch simply moves a bunch of C language-related declarations from
the various compile header files into a new C-specific header, compile-c.h.
gdb/ChangeLog:
* Makefile.in (SUBDIR_GCC_COMPILE_SRCS): Move header files ...
(HFILES_NO_SRCDIR): ... to here.
Add compile-internal.h and compile-c.h.
* compile/compile-c-support.c: Include compile-c.h.
* compile/compile-c-symbols.c: Include compile-c.h.
(generate_c_for_variable_locations): Update comment.
* compile/compile-c-types.c: Include compile-c.h.
* compile/compile-c.h: New file -- moved C language declarations
from other files here.
* compile/compile-internal.h: Do not include hashtab.h or
common/enum-flags.h.
(gcc_qualifiers_flags, struct compile_c_instance, C_CTX)
(gcc_convert_symbol, gcc_symbol_address)
(generate_c_for_variable_locations, c_get_mode_for_size)
(c_get_range_decl_name): Definitions moved to compile-c.h.
* compile/compile-loc2c.c: Include compile-c.h.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c007fbc..f9d1b00 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -319,9 +319,7 @@ SUBDIR_GCC_COMPILE_SRCS = \ compile/compile-c-types.c \ compile/compile-loc2c.c \ compile/compile-object-load.c \ - compile/compile-object-load.h \ - compile/compile-object-run.c \ - compile/compile-object-run.h + compile/compile-object-run.c SUBDIR_GCC_COMPILE_OBS = $(patsubst %.c,%.o,$(filter %.c,$(SUBDIR_GCC_COMPILE_SRCS))) @@ -1462,6 +1460,10 @@ HFILES_NO_SRCDIR = \ common/x86-xstate.h \ common/xml-utils.h \ compile/compile.h \ + compile/compile-c.h \ + compile/compile-internal.h \ + compile/compile-object-load.h \ + compile/compile-object-run.h \ config/nm-linux.h \ config/nm-nto.h \ config/djgpp/langinfo.h \ |