Don't include gdbarch.h from defs.h
authorTom Tromey <tom@tromey.com>
Sun, 9 Jun 2019 21:21:02 +0000 (15:21 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 10 Jul 2019 20:53:53 +0000 (14:53 -0600)
I touched symtab.h and was surprised to see how many files were
rebuilt.  I looked into it a bit, and found that defs.h includes
gdbarch.h, which in turn includes many things.

gdbarch.h is only needed by a minority ofthe files in gdb, so this
patch removes the include from defs.h and updates the fallout.

I did "wc -l" on the files in build/gdb/.deps; this patch reduces the
line count from 139935 to 137030; so there are definitely future
build-time savings here.

Note that while I configured with --enable-targets=all, it's possible
that some *-nat.c file needs an update.  I could not test all of
these.  The buildbot caught a few problems along these lines.

gdb/ChangeLog
2019-07-10  Tom Tromey  <tom@tromey.com>

* defs.h: Don't include gdbarch.h.
* aarch64-ravenscar-thread.c, aarch64-tdep.c, alpha-bsd-tdep.h,
alpha-linux-tdep.c, alpha-mdebug-tdep.c, arch-utils.h, arm-tdep.h,
ax-general.c, btrace.c, buildsym-legacy.c, buildsym.h, c-lang.c,
cli/cli-decode.h, cli/cli-dump.c, cli/cli-script.h,
cli/cli-style.h, coff-pe-read.h, compile/compile-c-support.c,
compile/compile-cplus.h, compile/compile-loc2c.c, corefile.c,
cp-valprint.c, cris-linux-tdep.c, ctf.c, d-lang.c, d-namespace.c,
dcache.c, dicos-tdep.c, dictionary.c, disasm-selftests.c,
dummy-frame.c, dummy-frame.h, dwarf2-frame-tailcall.c,
dwarf2expr.c, expression.h, f-lang.c, frame-base.c,
frame-unwind.c, frv-linux-tdep.c, gdbarch-selftests.c, gdbtypes.h,
go-lang.c, hppa-nbsd-tdep.c, hppa-obsd-tdep.c, i386-dicos-tdep.c,
i386-tdep.h, ia64-vms-tdep.c, interps.h, language.c,
linux-record.c, location.h, m2-lang.c, m32r-linux-tdep.c,
mem-break.c, memattr.c, mn10300-linux-tdep.c, nios2-linux-tdep.c,
objfiles.h, opencl-lang.c, or1k-linux-tdep.c, p-lang.c,
parser-defs.h, ppc-tdep.h, probe.h, python/py-record-btrace.c,
record-btrace.c, record.h, regcache-dump.c, regcache.h,
riscv-fbsd-tdep.c, riscv-linux-tdep.c, rust-exp.y,
sh-linux-tdep.c, sh-nbsd-tdep.c, source-cache.c,
sparc-nbsd-tdep.c, sparc-obsd-tdep.c, sparc-ravenscar-thread.c,
sparc64-fbsd-tdep.c, std-regs.c, target-descriptions.h,
target-float.c, tic6x-linux-tdep.c, tilegx-linux-tdep.c, top.c,
tracefile.c, trad-frame.c, type-stack.h, ui-style.c, utils.c,
utils.h, valarith.c, valprint.c, varobj.c, x86-tdep.c,
xml-support.h, xtensa-linux-tdep.c, cli/cli-cmds.h: Update.
* s390-linux-nat.c, procfs.c, inf-ptrace.c: Likewise.

103 files changed:
gdb/ChangeLog
gdb/aarch64-ravenscar-thread.c
gdb/aarch64-tdep.c
gdb/alpha-bsd-tdep.h
gdb/alpha-linux-tdep.c
gdb/alpha-mdebug-tdep.c
gdb/arch-utils.h
gdb/arm-tdep.h
gdb/ax-general.c
gdb/btrace.c
gdb/buildsym-legacy.c
gdb/buildsym.h
gdb/c-lang.c
gdb/cli/cli-cmds.h
gdb/cli/cli-decode.h
gdb/cli/cli-dump.c
gdb/cli/cli-script.h
gdb/cli/cli-style.h
gdb/coff-pe-read.h
gdb/compile/compile-c-support.c
gdb/compile/compile-cplus.h
gdb/compile/compile-loc2c.c
gdb/corefile.c
gdb/cp-valprint.c
gdb/cris-linux-tdep.c
gdb/ctf.c
gdb/d-lang.c
gdb/d-namespace.c
gdb/dcache.c
gdb/defs.h
gdb/dicos-tdep.c
gdb/dictionary.c
gdb/disasm-selftests.c
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/dwarf2-frame-tailcall.c
gdb/dwarf2expr.c
gdb/expression.h
gdb/f-lang.c
gdb/frame-base.c
gdb/frame-unwind.c
gdb/frv-linux-tdep.c
gdb/gdbarch-selftests.c
gdb/gdbtypes.h
gdb/go-lang.c
gdb/hppa-nbsd-tdep.c
gdb/hppa-obsd-tdep.c
gdb/i386-dicos-tdep.c
gdb/i386-tdep.h
gdb/ia64-vms-tdep.c
gdb/inf-ptrace.c
gdb/interps.h
gdb/language.c
gdb/linux-record.c
gdb/location.h
gdb/m2-lang.c
gdb/m32r-linux-tdep.c
gdb/mem-break.c
gdb/memattr.c
gdb/mn10300-linux-tdep.c
gdb/nios2-linux-tdep.c
gdb/objfiles.h
gdb/opencl-lang.c
gdb/or1k-linux-tdep.c
gdb/p-lang.c
gdb/parser-defs.h
gdb/ppc-tdep.h
gdb/probe.h
gdb/procfs.c
gdb/python/py-record-btrace.c
gdb/record-btrace.c
gdb/record.h
gdb/regcache-dump.c
gdb/regcache.h
gdb/riscv-fbsd-tdep.c
gdb/riscv-linux-tdep.c
gdb/rust-exp.y
gdb/s390-linux-nat.c
gdb/sh-linux-tdep.c
gdb/sh-nbsd-tdep.c
gdb/source-cache.c
gdb/sparc-nbsd-tdep.c
gdb/sparc-obsd-tdep.c
gdb/sparc-ravenscar-thread.c
gdb/sparc64-fbsd-tdep.c
gdb/std-regs.c
gdb/target-descriptions.h
gdb/target-float.c
gdb/tic6x-linux-tdep.c
gdb/tilegx-linux-tdep.c
gdb/top.c
gdb/tracefile.c
gdb/trad-frame.c
gdb/type-stack.h
gdb/ui-style.c
gdb/utils.c
gdb/utils.h
gdb/valarith.c
gdb/valprint.c
gdb/varobj.c
gdb/x86-tdep.c
gdb/xml-support.h
gdb/xtensa-linux-tdep.c

index aa8b53a121492e00548e48c7b9eb0eb25468ac19..5f3303dcde92a9942af816912211521047315e19 100644 (file)
@@ -1,3 +1,34 @@
+2019-07-10  Tom Tromey  <tom@tromey.com>
+
+       * defs.h: Don't include gdbarch.h.
+       * aarch64-ravenscar-thread.c, aarch64-tdep.c, alpha-bsd-tdep.h,
+       alpha-linux-tdep.c, alpha-mdebug-tdep.c, arch-utils.h, arm-tdep.h,
+       ax-general.c, btrace.c, buildsym-legacy.c, buildsym.h, c-lang.c,
+       cli/cli-decode.h, cli/cli-dump.c, cli/cli-script.h,
+       cli/cli-style.h, coff-pe-read.h, compile/compile-c-support.c,
+       compile/compile-cplus.h, compile/compile-loc2c.c, corefile.c,
+       cp-valprint.c, cris-linux-tdep.c, ctf.c, d-lang.c, d-namespace.c,
+       dcache.c, dicos-tdep.c, dictionary.c, disasm-selftests.c,
+       dummy-frame.c, dummy-frame.h, dwarf2-frame-tailcall.c,
+       dwarf2expr.c, expression.h, f-lang.c, frame-base.c,
+       frame-unwind.c, frv-linux-tdep.c, gdbarch-selftests.c, gdbtypes.h,
+       go-lang.c, hppa-nbsd-tdep.c, hppa-obsd-tdep.c, i386-dicos-tdep.c,
+       i386-tdep.h, ia64-vms-tdep.c, interps.h, language.c,
+       linux-record.c, location.h, m2-lang.c, m32r-linux-tdep.c,
+       mem-break.c, memattr.c, mn10300-linux-tdep.c, nios2-linux-tdep.c,
+       objfiles.h, opencl-lang.c, or1k-linux-tdep.c, p-lang.c,
+       parser-defs.h, ppc-tdep.h, probe.h, python/py-record-btrace.c,
+       record-btrace.c, record.h, regcache-dump.c, regcache.h,
+       riscv-fbsd-tdep.c, riscv-linux-tdep.c, rust-exp.y,
+       sh-linux-tdep.c, sh-nbsd-tdep.c, source-cache.c,
+       sparc-nbsd-tdep.c, sparc-obsd-tdep.c, sparc-ravenscar-thread.c,
+       sparc64-fbsd-tdep.c, std-regs.c, target-descriptions.h,
+       target-float.c, tic6x-linux-tdep.c, tilegx-linux-tdep.c, top.c,
+       tracefile.c, trad-frame.c, type-stack.h, ui-style.c, utils.c,
+       utils.h, valarith.c, valprint.c, varobj.c, x86-tdep.c,
+       xml-support.h, xtensa-linux-tdep.c, cli/cli-cmds.h: Update.
+       * s390-linux-nat.c, procfs.c, inf-ptrace.c: Likewise.
+
 2019-07-10  Tom Tromey  <tromey@adacore.com>
 
        * ada-lang.h (is_ada_exception_catchpoint): Declare.
index 3e87a4bf5b96aea5b41baaf82089653cb6007dc5..ca22494a5ce270fd617ec4f607235726c1c74090 100644 (file)
@@ -24,6 +24,7 @@
 #include "inferior.h"
 #include "ravenscar-thread.h"
 #include "aarch64-ravenscar-thread.h"
+#include "gdbarch.h"
 
 #define NO_OFFSET -1
 
index 757465828a1bbdb732b792cea27d406599641841..e23cc3f9567d08cf154962608ef414fb31c231fb 100644 (file)
@@ -57,6 +57,7 @@
 #include "record.h"
 #include "record-full.h"
 #include "arch/aarch64-insn.h"
+#include "gdbarch.h"
 
 #include "opcode/aarch64.h"
 #include <algorithm>
index 8c87e179a07ee73dc4f05f4786a5701b7810554b..6e9719ff92cbc9b7a5b9ca66c4302195bf62c79e 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef ALPHA_BSD_TDEP_H
 #define ALPHA_BSD_TDEP_H
 
+#include "gdbarch.h"
+
 struct regcache;
 
 void alphabsd_supply_reg (struct regcache *, const char *, int);
index bfa611e646fedbf81fd6d91a6ba38334d1629f30..27b2398fdbc32ea3ab56b72399f1c02e992c254c 100644 (file)
@@ -25,6 +25,7 @@
 #include "regcache.h"
 #include "linux-tdep.h"
 #include "alpha-tdep.h"
+#include "gdbarch.h"
 
 /* This enum represents the signals' numbers on the Alpha
    architecture.  It just contains the signal definitions which are
index caab08b1220f8cda17f5650be5e68e5630b26770..cc10a5dd9871abb4fd502341ce767ec6a76bb545 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "alpha-tdep.h"
 #include "mdebugread.h"
+#include "gdbarch.h"
 
 /* FIXME: Some of this code should perhaps be merged with mips.  */
 
index 155cf5cfe30df0f6a62e44a6fc088f2f675b5bee..588e7c07624618652f43fe817b43d85948ed2b0c 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef ARCH_UTILS_H
 #define ARCH_UTILS_H
 
-struct gdbarch;
+#include "gdbarch.h"
+
 struct frame_info;
 struct minimal_symbol;
 struct type;
index 807849a5ffcac0627a5c945fbd59197e3260dbcd..36d2d381cfa44c78747aeba982cbccb3e75a17e2 100644 (file)
 #define ARM_TDEP_H
 
 /* Forward declarations.  */
-struct gdbarch;
 struct regset;
 struct address_space;
 struct get_next_pcs;
 struct arm_get_next_pcs;
 struct gdb_get_next_pcs;
 
+#include "gdbarch.h"
 #include "arch/arm.h"
 #include "infrun.h"
 
index d0fdc621f88ea9b92c2349c54d21778924386ce0..d377d0b6eb254f2488c21d031517a89f75c1b27c 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "defs.h"
 #include "ax.h"
+#include "gdbarch.h"
 
 #include "value.h"
 #include "user-regs.h"
index 08096adeb1daf881cdaf77819ebe507fcc6d16f4..466607dbfc2231bd3b954a59763fccc1e5bd79b2 100644 (file)
@@ -34,6 +34,7 @@
 #include "gdbsupport/rsp-low.h"
 #include "gdbcmd.h"
 #include "cli/cli-utils.h"
+#include "gdbarch.h"
 
 /* For maintenance commands.  */
 #include "record-btrace.h"
index a29c1280971c17555607d52e9c6d7e6cdbc51fb8..91f8eb869b798fd795056e501b2491141814ee02 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "defs.h"
 #include "buildsym-legacy.h"
+#include "symtab.h"
 
 /* The work-in-progress of the compunit we are building.
    This is created first, before any subfiles by start_symtab.  */
index 0f38d597a0f2724d81386d7b8245de50ea048502..193832fc37a556bc6ab165a3c5a8238ed653129e 100644 (file)
@@ -19,6 +19,8 @@
 #if !defined (BUILDSYM_H)
 #define BUILDSYM_H 1
 
+#include "gdb_obstack.h"
+
 struct objfile;
 struct symbol;
 struct addrmap;
index 5bb771b864389458c7e94dd09b4e2f5185b33fdc..57592dfbce0f8822fa3ca3d68ed520b4124a0c5d 100644 (file)
@@ -35,6 +35,7 @@
 #include "gdb_obstack.h"
 #include <ctype.h>
 #include "gdbcore.h"
+#include "gdbarch.h"
 
 /* Given a C string type, STR_TYPE, return the corresponding target
    character set name.  */
index 188df05febd68c3e88edd8703bc6663eacc37ce1..ac0591e2e894e94113a759bf0594c93cdda1f6bc 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gdbsupport/filestuff.h"
 #include "gdbsupport/gdb_optional.h"
+#include "completer.h"
 
 /* Chain containing all defined commands.  */
 
index 05280d9d22024c152e0d9f1d66fd3cd795fab46b..16a6ce9f66b2620b199d222867f7b72ca05607ea 100644 (file)
@@ -25,6 +25,7 @@
 #include "command.h"
 #include "gdb_regex.h"
 #include "cli-script.h"
+#include "completer.h"
 
 #if 0
 /* FIXME: cagney/2002-03-17: Once cmd_type() has been removed, ``enum
index 1910ca27659db40edf1a4b755ca3494f1907ed0a..143d02ab88d70e35635e69c5dc170db793899fea 100644 (file)
@@ -32,6 +32,7 @@
 #include "gdb_bfd.h"
 #include "gdbsupport/filestuff.h"
 #include "gdbsupport/byte-vector.h"
+#include "gdbarch.h"
 
 static gdb::unique_xmalloc_ptr<char>
 scan_expression (const char **cmd, const char *def)
index e76e794be57911dfb196eb269343c06a46d09379..387ef88e3d07003d061d66d62439136ab5ff0cbc 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef CLI_CLI_SCRIPT_H
 #define CLI_CLI_SCRIPT_H
 
+#include "gdbsupport/function-view.h"
+
 struct ui_file;
 struct cmd_list_element;
 
index 6ae265e6ef48319842c402b496ff2c2e70417c0e..cdcea84f0ee3dbb6d52056eab6dc56d15038d241 100644 (file)
@@ -21,6 +21,7 @@
 #define CLI_CLI_STYLE_H
 
 #include "ui-file.h"
+#include "command.h"
 
 /* A single CLI style option.  */
 class cli_style_option
index 539fe06545495aeaa48c8b6881761aad9aff9adc..ee4d69cec7cbabb29df56a67cfb8e57dee8fabde 100644 (file)
@@ -22,6 +22,7 @@
 #if !defined (COFF_PE_READ_H)
 #define COFF_PE_READ_H
 
+class minimal_symbol_reader;
 struct objfile;
 struct bfd;
 
index 0f50c0910387b8d9e8c399196a48b9a781b7d46b..a6727e83afa7e0b291ebdebd303de0476eb5aada 100644 (file)
@@ -29,6 +29,7 @@
 #include "regcache.h"
 #include "gdbsupport/function-view.h"
 #include "gdbsupport/preprocessor.h"
+#include "gdbarch.h"
 
 /* See compile-internal.h.  */
 
index d58e030b5a2345837ef72dbf9d342a350fc659c9..5500a592183d806e80c8163b1edb1d0768b8c765 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gdbsupport/enum-flags.h"
 #include "gcc-cp-plugin.h"
+#include "symtab.h"
 
 struct type;
 struct block;
index 9ca10b772105c438ca6f07b3d0b67000fcf8e24c..22253c4dbfd4c3f7939318139ece94fd0182c203 100644 (file)
@@ -30,6 +30,7 @@
 #include "dwarf2-frame.h"
 #include "gdbsupport/gdb_vecs.h"
 #include "value.h"
+#include "gdbarch.h"
 
 \f
 
index 4fe8606a22dec09f922058d6ed1a37422e406b30..f22c1540cb16b4bd441ee983013f7c6efc14c861 100644 (file)
@@ -32,6 +32,7 @@
 #include "completer.h"
 #include "observable.h"
 #include "cli/cli-utils.h"
+#include "gdbarch.h"
 
 /* You can have any number of hooks for `exec_file_command' command to
    call.  If there's only one hook, it is set in exec_file_display
index c8472d94b24c49a6bce704b41692f1520474e536..530d8c526915285519506582ce2c606fc76cf8e6 100644 (file)
@@ -36,6 +36,7 @@
 #include "extension.h"
 #include "typeprint.h"
 #include "gdbsupport/byte-vector.h"
+#include "gdbarch.h"
 
 static struct obstack dont_print_vb_obstack;
 static struct obstack dont_print_statmem_obstack;
index 27681cb8b278cf62dde9d1ac0515e7ed7dcaf61e..3bab7404b17fe4e93070870e761c81f57cb5fbd8 100644 (file)
@@ -26,6 +26,7 @@
 #include "linux-tdep.h"
 #include "solib-svr4.h"
 #include "symtab.h"
+#include "gdbarch.h"
 
 #include "cris-tdep.h"
 
index cc714f00e2c349d5a32395a1b7b49e3ef4a0b08d..b3c3f0d7b26113dd00cd2ed5f6a837212bc35d97 100644 (file)
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -32,6 +32,7 @@
 #include <ctype.h>
 #include <algorithm>
 #include "gdbsupport/filestuff.h"
+#include "gdbarch.h"
 
 /* The CTF target.  */
 
index 0f8f916c9b1aea2a424595500408ee852fb73671..b80b374d6f1e3cde66015bb058309331ae141599 100644 (file)
@@ -25,6 +25,7 @@
 #include "c-lang.h"
 #include "demangle.h"
 #include "cp-support.h"
+#include "gdbarch.h"
 
 /* The name of the symbol to use to get the name of the main subprogram.  */
 static const char D_MAIN[] = "D main";
index 4edef188e9e14bd52de71fc58a91cfe208e2360b..768ba23f014677b44cbe665b879488a2a87a13f2 100644 (file)
@@ -24,6 +24,7 @@
 #include "namespace.h"
 #include "d-lang.h"
 #include "gdb_obstack.h"
+#include "gdbarch.h"
 
 /* This returns the length of first component of NAME, which should be
    the demangled name of a D variable/function/method/etc.
index 5a2e8f8000b7c7de9f0fbac640611043b2187b02..1716def4c4a08188ecfce039658aa52af385e1e3 100644 (file)
@@ -24,6 +24,7 @@
 #include "target-dcache.h"
 #include "inferior.h"
 #include "splay-tree.h"
+#include "gdbarch.h"
 
 /* Commands with a prefix of `{set,show} dcache'.  */
 static struct cmd_list_element *dcache_set_list = NULL;
index a400722a970108da1b6224ed65b92f06e372245b..ece3006de4ea6a882b21f339ddb22faaa52aa12e 100644 (file)
@@ -519,9 +519,6 @@ enum symbol_needs_kind
   SYMBOL_NEEDS_FRAME
 };
 
-/* Dynamic target-system-dependent parameters for GDB.  */
-#include "gdbarch.h"
-
 /* In findvar.c.  */
 
 template<typename T, typename = RequireLongest<T>>
index bacba9636853b30c06eb3330647ed82b1432bc78..954428a1101fdde5543f60b07cc950685f6a37f0 100644 (file)
@@ -23,6 +23,7 @@
 #include "solib-target.h"
 #include "inferior.h"
 #include "dicos-tdep.h"
+#include "gdbarch.h"
 
 void
 dicos_init_abi (struct gdbarch *gdbarch)
index 4e38b2e23401d08a6359006396e66cd0bd24ffdc..2546c054e1785ac36f029659e714e782dd3cae35 100644 (file)
@@ -28,6 +28,7 @@
 #include "dictionary.h"
 #include "safe-ctype.h"
 #include <unordered_map>
+#include "language.h"
 
 /* This file implements dictionaries, which are tables that associate
    symbols to names.  They are represented by an opaque type 'struct
index 9991796cc0af69ad0bf47fd24a9b491daac7fe5a..d924fc725fd5bbda03ad0ae989b98d02f8a112a2 100644 (file)
@@ -23,6 +23,7 @@
 #if GDB_SELF_TEST
 #include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
+#include "gdbarch.h"
 
 namespace selftests {
 
index aebdd233d74074fb1f723c7bd0bd9e03147e24db..d3ede7c9a0cba1d14550330a88379902d85606ce 100644 (file)
@@ -29,6 +29,7 @@
 #include "observable.h"
 #include "gdbthread.h"
 #include "infcall.h"
+#include "gdbarch.h"
 
 struct dummy_frame_id
 {
index b886f2eb010e3372906562c87afd79aae1d39334..6b8cbf6fc7a69cf1f2f0b55c47d77438969dd2b2 100644 (file)
@@ -24,6 +24,7 @@
 
 struct infcall_suspend_state;
 struct frame_unwind;
+class thread_info;
 
 /* Push the information needed to identify, and unwind from, a dummy
    frame onto the dummy frame stack.  */
index 07db655ec564bbbd6594852ae89ff9e9985215c1..e8f5aaf9c75884a3d71e70a060dd3fdfb703c7d9 100644 (file)
@@ -28,6 +28,7 @@
 #include "regcache.h"
 #include "value.h"
 #include "dwarf2-frame.h"
+#include "gdbarch.h"
 
 /* Contains struct tailcall_cache indexed by next_bottom_frame.  */
 static htab_t cache_htab;
index 6d919600e84b195889cfa98e15ebc1b70d9f811f..f611940ad3193a672430fddde0f5f7d117ad2b1f 100644 (file)
@@ -28,6 +28,7 @@
 #include "dwarf2expr.h"
 #include "dwarf2loc.h"
 #include "gdbsupport/underlying.h"
+#include "gdbarch.h"
 
 /* Cookie for gdbarch data.  */
 
index 841bf9891be5ea42d2999de088159fd32be6df67..02b51f56e0d8d6a2b87d038dc2b9cd1ea61216dc 100644 (file)
@@ -20,6 +20,8 @@
 #if !defined (EXPRESSION_H)
 #define EXPRESSION_H 1
 
+#include "gdbtypes.h"
+
 /* While parsing expressions we need to track the innermost lexical block
    that we encounter.  In some situations we need to track the innermost
    block just for symbols, and in other situations we want to track the
index e612eeda7f7fe0ad7b8c1f2dd8603b093d0f322a..e93a5f342764fd60439f4a12fb4a44535ae217af 100644 (file)
@@ -35,6 +35,7 @@
 #include "charset.h"
 #include "c-lang.h"
 #include "target-float.h"
+#include "gdbarch.h"
 
 #include <math.h>
 
index 47897fc653dfdfc2cbc43fffef726818ffe7e0e4..3071586979335437bffa6da2e3e64426eb5a60fe 100644 (file)
@@ -21,6 +21,7 @@
 #include "frame-base.h"
 #include "frame.h"
 #include "gdb_obstack.h"
+#include "gdbarch.h"
 
 /* A default frame base implementations.  If it wasn't for the old
    DEPRECATED_FRAME_LOCALS_ADDRESS and DEPRECATED_FRAME_ARGS_ADDRESS,
index 4b38f64c2f10576ffb1643ec5f790e3309aced3d..61486652d4200ce7a2c47bd5fd61d295a725b0ae 100644 (file)
@@ -26,6 +26,7 @@
 #include "regcache.h"
 #include "gdb_obstack.h"
 #include "target.h"
+#include "gdbarch.h"
 
 static struct gdbarch_data *frame_unwind_data;
 
index e5261455fd92fc5a940216449caaf39cd96e3377..cee2d0c5e24fdb9e06fefdcdf74b45bcc7743007 100644 (file)
@@ -31,6 +31,7 @@
 #include "frame-unwind.h"
 #include "regset.h"
 #include "linux-tdep.h"
+#include "gdbarch.h"
 
 /* Define the size (in bytes) of an FR-V instruction.  */
 static const int frv_instr_size = 4;
index bc8d9bda7aa460a131b7f5e809eb11609918f8e3..0942050479bd82e59ebf7f1ebf0c3feb1b71742c 100644 (file)
@@ -27,6 +27,7 @@
 #include "test-target.h"
 #include "target-float.h"
 #include "gdbsupport/def-vector.h"
+#include "gdbarch.h"
 
 namespace selftests {
 
index 1a131e2279cafcefa6ee61a62db984605f9119ee..7268d3e4aa3c19bad0c1d7894f2b728b822be464 100644 (file)
@@ -50,7 +50,6 @@
 #include "gdbsupport/enum-flags.h"
 #include "gdbsupport/underlying.h"
 #include "gdbsupport/print-utils.h"
-#include "gdbarch.h"
 
 /* Forward declarations for prototypes.  */
 struct field;
index 6473468d4d96ba9a403d51a0bd2b0d458ea627dc..c77676c8a5799141a37731159d23e96090f854df 100644 (file)
@@ -40,6 +40,7 @@
 #include "go-lang.h"
 #include "c-lang.h"
 #include "parser-defs.h"
+#include "gdbarch.h"
 
 #include <ctype.h>
 
index 2ce842e7af7a7ff57b2ae7389c8ada7b36e657d3..bc80fcd4157a682a2b3ada0762cf23d994602892 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "hppa-tdep.h"
 #include "hppa-bsd-tdep.h"
+#include "gdbarch.h"
 
 /* From <machine/mcontext.h>.  */
 static int hppanbsd_mc_reg_offset[] =
index 553334535eef886882efd516abea2981ca355da1..983f99620781501cc57ad3e5d40a2ccf5fe4e20f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "hppa-tdep.h"
 #include "hppa-bsd-tdep.h"
+#include "gdbarch.h"
 
 /* Core file support.  */
 
index 3f78cebb52602c768b4bd97ae9461de3592d3403..02af91aefd890def117045c5aecf0d5f03b401bc 100644 (file)
@@ -20,6 +20,7 @@
 #include "defs.h"
 #include "osabi.h"
 #include "dicos-tdep.h"
+#include "gdbarch.h"
 
 static void
 i386_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
index c0d494824cccc27d6d20280f9b8799c21a34afd9..456dd549c67c279039582b1c5ce761d17f3f349b 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef I386_TDEP_H
 #define I386_TDEP_H
 
+#include "gdbarch.h"
 #include "infrun.h"
 
 struct frame_info;
index 6a15c92c8054be96586e663a9e207419d49373e2..f249f82438b00d93b44b7a4ab5af3f282488ad39 100644 (file)
@@ -23,6 +23,7 @@
 #include "osabi.h"
 #include "gdbtypes.h"
 #include "gdbcore.h"
+#include "gdbarch.h"
 
 #ifdef HAVE_LIBUNWIND_IA64_H
 
index 32c433e3eafc4dc471cc84a8b89eefb2f645cdf0..4a8e7323736cdab22ee328119a0b2ffa0b0600e9 100644 (file)
@@ -33,6 +33,7 @@
 #include "gdbthread.h"
 #include "nat/fork-inferior.h"
 #include "utils.h"
+#include "gdbarch.h"
 
 \f
 
index 7cdb4d97e80d5de736c7e7850f1027ee567ecb74..7a349d9209ab2ad774e269efd6e1f98fd4592c21 100644 (file)
@@ -25,6 +25,7 @@
 struct ui_out;
 struct interp;
 struct ui;
+class completion_tracker;
 
 typedef struct interp *(*interp_factory_func) (const char *name);
 
index a7c09ccd6dbcfd7623beb60766f34ba815575eda..023f0f4ccbaed9b95abfd02ada26159f11fdbaf5 100644 (file)
@@ -45,6 +45,7 @@
 #include "frame.h"
 #include "c-lang.h"
 #include <algorithm>
+#include "gdbarch.h"
 
 static int unk_lang_parser (struct parser_state *);
 
index 338e8b93c916c92e85db0049669d5c311f3e7b8b..11bb990fcae897fa329534601d2138f4b6239b25 100644 (file)
@@ -24,6 +24,7 @@
 #include "record.h"
 #include "record-full.h"
 #include "linux-record.h"
+#include "gdbarch.h"
 
 /* These macros are the values of the first argument of system call
    "sys_ptrace".  The values of these macros were obtained from Linux
index 9e87520dfb10967170b8fe035e24acc37917ff6e..e4058ed6bd9c530761ba5e7dcccf9c97a6fd4177 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef LOCATION_H
 #define LOCATION_H
 
+#include "symtab.h"
+
 struct language_defn;
 struct event_location;
 
index 6fe628978cf37b3e37c94186cbd0132f6e30263f..759414d7f0f0043cdff31645f3f008f54ac8fc41 100644 (file)
@@ -27,6 +27,7 @@
 #include "m2-lang.h"
 #include "c-lang.h"
 #include "valprint.h"
+#include "gdbarch.h"
 
 static void m2_printchar (int, struct type *, struct ui_file *);
 static void m2_emit_char (int, struct type *, struct ui_file *, int);
index 4c088ec0dee2b2b79ad850e4886dd04a669086c9..a1c8839435150ea0e2c5f35e1a13bdce48155042 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "m32r-tdep.h"
 #include "linux-tdep.h"
+#include "gdbarch.h"
 
 \f
 
index abf8885b5adacf74007a832fa316edebbde9a0e6..cf2ba593a592a3235dfca4e7e7314df06fbf09e5 100644 (file)
@@ -24,6 +24,8 @@
 #include "breakpoint.h"
 #include "inferior.h"
 #include "target.h"
+#include "gdbarch.h"
+
 /* Insert a breakpoint on targets that don't have any better
    breakpoint support.  We read the contents of the target location
    and stash it, then overwrite it with a breakpoint instruction.
index 4bfab9c021d2ee63ae8ac4b03d56e4496bee593d..2727fe6c7546c12fe7d935b0bfe9de57c0cbc1fe 100644 (file)
@@ -29,6 +29,7 @@
 #include "breakpoint.h"
 #include "cli/cli-utils.h"
 #include <algorithm>
+#include "gdbarch.h"
 
 static std::vector<mem_region> user_mem_region_list, target_mem_region_list;
 static std::vector<mem_region> *mem_region_list = &target_mem_region_list;
index 706096c7529f745d63d7c601b851ddbba80fee25..70f377f80ae128ec22528706def1b5deab30660c 100644 (file)
@@ -30,6 +30,7 @@
 #include "trad-frame.h"
 #include "tramp-frame.h"
 #include "linux-tdep.h"
+#include "gdbarch.h"
 
 /* Transliterated from <asm-mn10300/elf.h>...  */
 #define MN10300_ELF_NGREG 28
index 2d38e603c068a98d503849aeed96268da132e6be..f48cd9a1bad3517d4258f8eb85a871396c0e1c0b 100644 (file)
@@ -29,6 +29,7 @@
 #include "linux-tdep.h"
 #include "glibc-tdep.h"
 #include "nios2-tdep.h"
+#include "gdbarch.h"
 
 /* Core file and register set support.  */
 
index 3a7a8ba940bdc907e1953839e522cd666801f013..a0c106be3d4aa4c058f9a17eed3091f373d2903d 100644 (file)
@@ -33,6 +33,7 @@
 #include "gdbsupport/next-iterator.h"
 #include "gdbsupport/safe-iterator.h"
 #include "bcache.h"
+#include "gdbarch.h"
 
 struct htab;
 struct objfile_data;
index 93d8e2f5dd3381b92fa70da05432c6888f02e960..8ced334a2d3091907b576be6879e217e2666a5b7 100644 (file)
@@ -26,6 +26,7 @@
 #include "language.h"
 #include "varobj.h"
 #include "c-lang.h"
+#include "gdbarch.h"
 
 /* This macro generates enum values from a given type.  */
 
index f75a17b2c53371916c55d5452dbfd2f4f78f3f6b..b8076dc805620af59f17b9037c77c8c02cf87777 100644 (file)
@@ -25,6 +25,7 @@
 #include "regset.h"
 #include "tramp-frame.h"
 #include "trad-frame.h"
+#include "gdbarch.h"
 
 /* Define the general register mapping.  The kernel puts the PC at offset 0,
    gdb puts it at offset 32.  Register x0 is always 0 and can be ignored.
index 9b9f19b69cf2a2586547564bcaceae8c1849cb4a..cfe2a8887229d6d9b4b5262deb397d433f2ca583 100644 (file)
@@ -31,6 +31,7 @@
 #include "value.h"
 #include <ctype.h>
 #include "c-lang.h"
+#include "gdbarch.h"
 
 /* All GPC versions until now (2007-09-27) also define a symbol called
    '_p_initialize'.  Check for the presence of this symbol first.  */
index 9c0341b556e10d26f93f8fc594b1be889a72b231..33670b29c4cd49e82a03c5384b82406d6e74f2f7 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "gdbsupport/vec.h"
 #include "expression.h"
+#include "symtab.h"
 
 struct block;
 struct language_defn;
index 9297fe2b097d09e07c772fcdcb43a45388fbf4eb..1749f476eb1c17e6674cb36d18c21be21b4e9360 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef PPC_TDEP_H
 #define PPC_TDEP_H
 
+#include "gdbarch.h"
+
 struct gdbarch;
 struct frame_info;
 struct value;
index 5c83f49471485dcaaedd304abd6478b166a44fc7..8abf69e3540ec983f1524b012a57c8ca03fc4934 100644 (file)
@@ -20,6 +20,8 @@
 #if !defined (PROBE_H)
 #define PROBE_H 1
 
+#include "symtab.h"
+
 struct event_location;
 struct linespec_result;
 
index 50e3e928425e47895ba7ae32b132c297c7d81474..5bc1c3b28a56419612049d1f57a6a5b684ec250d 100644 (file)
@@ -31,7 +31,7 @@
 #include "regcache.h"
 #include "inf-child.h"
 #include "nat/fork-inferior.h"
-#include "gdbsupport/filestuff.h"
+#include "gdbarch.h"
 
 #define _STRUCTURED_PROC 1     /* Should be done by configure script.  */
 
index e7153fb6d7bdd6697741acc1c0a428f7cac58953..82cef4f08647e6912f9db8c5f25c272a2877de20 100644 (file)
@@ -26,6 +26,7 @@
 #include "py-record-btrace.h"
 #include "record-btrace.h"
 #include "disasm.h"
+#include "gdbarch.h"
 
 #if defined (IS_PY3K)
 
index ec06145585fd56436068def8f24167045359cbb4..73e7e3292a50497349ef96983d1c95b8cba6a69f 100644 (file)
@@ -41,6 +41,7 @@
 #include "gdbsupport/vec.h"
 #include "inferior.h"
 #include <algorithm>
+#include "gdbarch.h"
 
 static const target_info record_btrace_target_info = {
   "record-btrace",
index f371b7f7cc13d2eebeaff4be0bbb7c4193fc81a9..a1641abd6e873a086b784f70443bd1fac2b2367a 100644 (file)
@@ -23,6 +23,7 @@
 #include "target/waitstatus.h" /* For enum target_stop_reason.  */
 #include "gdbsupport/enum-flags.h"
 
+struct address_space;
 struct cmd_list_element;
 struct inferior;
 
index 52ecbbe138731b93794f6c0e774120a18d1c02e4..7225d95f85efde2059b1de248ea096696a3676ba 100644 (file)
@@ -23,6 +23,7 @@
 #include "remote.h"
 #include "reggroups.h"
 #include "target.h"
+#include "gdbarch.h"
 
 /* Dump registers from regcache, used for dumping raw registers and
    cooked registers.  */
index 8d0c302ac3e559fa133769b8014f3c318d5c2b46..f7d4bc60f65133ff0c735b847f1b26cb15c31a62 100644 (file)
 #define REGCACHE_H
 
 #include "gdbsupport/common-regcache.h"
+#include "gdbsupport/function-view.h"
 #include <forward_list>
 
 struct regcache;
 struct regset;
 struct gdbarch;
 struct address_space;
+class thread_info;
 
 extern struct regcache *get_current_regcache (void);
 extern struct regcache *get_thread_regcache (ptid_t ptid);
index 3125a2285e1e2aa74b8833d25a8f9bfc851a5e5c..a17d55b08b0d0a32b113e7f1a5edd30b27644871 100644 (file)
@@ -25,6 +25,7 @@
 #include "target.h"
 #include "trad-frame.h"
 #include "tramp-frame.h"
+#include "gdbarch.h"
 
 /* Register maps.  */
 
index 91061c5b3e90b0cac5e4c15ad440e1cebf4e3bf8..adeb25441da2816b8d11b280204dde79f0517e49 100644 (file)
@@ -25,6 +25,7 @@
 #include "regset.h"
 #include "tramp-frame.h"
 #include "trad-frame.h"
+#include "gdbarch.h"
 
 /* Define the general register mapping.  The kernel puts the PC at offset 0,
    gdb puts it at offset 32.  Register x0 is always 0 and can be ignored.
index ddbf1d4bba312769845ced9d79ebec058135cbe1..bf6566b8d2954aa7a5ae034c8322e735f6496580 100644 (file)
@@ -41,6 +41,7 @@
 #include "gdbsupport/selftest.h"
 #include "value.h"
 #include "gdbsupport/vec.h"
+#include "gdbarch.h"
 
 #define GDB_YY_REMAP_PREFIX rust
 #include "yy-remap.h"
index e2f13def9de490d96ab8f94e096933c201100d10..ecb90b2422b6cfd024c7fec636a0ec19e47dcc0c 100644 (file)
@@ -43,6 +43,7 @@
 #include <algorithm>
 #include "inf-ptrace.h"
 #include "linux-tdep.h"
+#include "gdbarch.h"
 
 /* Per-thread arch-specific data.  */
 
index 8aa60170a9c24fac0685c0b6cb2f598fd2dcb48f..a4684e65da79f47cf7972ae3fc52dc08dbaad2c7 100644 (file)
@@ -29,6 +29,7 @@
 #include "glibc-tdep.h"
 #include "sh-tdep.h"
 #include "linux-tdep.h"
+#include "gdbarch.h"
 
 #define REGSx16(base) \
   {(base),      0}, \
index 4ae989a3926f6ad345ef170a1c306ff51204ee6a..976b344965bb504a54082c1cf701b77ea325f405 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "sh-tdep.h"
 #include "solib-svr4.h"
+#include "gdbarch.h"
 
 /* Convert a register number into an offset into a ptrace
    register structure.  */
index 94d82073bccb06a327952794c01540890d6c3355..f5bb641a22b274266bca2c7e2882c7df5d69b9f2 100644 (file)
@@ -21,6 +21,7 @@
 #include "gdbsupport/scoped_fd.h"
 #include "source.h"
 #include "cli/cli-style.h"
+#include "symtab.h"
 
 #ifdef HAVE_SOURCE_HIGHLIGHT
 /* If Gnulib redirects 'open' and 'close' to its replacements
index 486d9abadc108749390ee9cd91b10cf5957e63cc..3f71d964591ebb4c7bbe87ac83daaca5dce82416 100644 (file)
@@ -29,6 +29,7 @@
 #include "solib-svr4.h"
 #include "symtab.h"
 #include "trad-frame.h"
+#include "gdbarch.h"
 
 #include "sparc-tdep.h"
 #include "nbsd-tdep.h"
index 6149db9419b31a30294cb92337a0c54faddd957c..3a8930a9efe611e7072d4b92adae25063be3be32 100644 (file)
@@ -30,6 +30,7 @@
 #include "sparc-tdep.h"
 #include "solib-svr4.h"
 #include "bsd-uthread.h"
+#include "gdbarch.h"
 
 /* Signal trampolines.  */
 
index c619f6e3c10c917c8231b833b5350434097f8b97..ca885b42420e34c250f83ff6a84a5eb3b4989f54 100644 (file)
@@ -24,6 +24,7 @@
 #include "inferior.h"
 #include "ravenscar-thread.h"
 #include "sparc-ravenscar-thread.h"
+#include "gdbarch.h"
 
 struct sparc_ravenscar_ops : public ravenscar_arch_ops
 {
index 4016006bd35b4202d40be7e1e4f0b27d02d7bf30..4989772f11888d488a6973a3e37f9f11390b3fe9 100644 (file)
@@ -30,6 +30,7 @@
 #include "sparc64-tdep.h"
 #include "fbsd-tdep.h"
 #include "solib-svr4.h"
+#include "gdbarch.h"
 
 /* From <machine/reg.h>.  */
 const struct sparc_gregmap sparc64fbsd_gregmap =
index 26e6d0bf419a1674373dea8f2e3a1c065a09fce1..8dc94f80120bbd80461ad3a92d55bb8313c5f3c7 100644 (file)
@@ -24,6 +24,8 @@
 #include "frame.h"
 #include "gdbtypes.h"
 #include "value.h"
+#include "gdbarch.h"
+
 static struct value *
 value_of_builtin_frame_fp_reg (struct frame_info *frame, const void *baton)
 {
index 5f27eed06dbb864d2df3aeaefff3fc71d5f36580..5f0a6637cf4552e1f347930adacd70476e1a3971 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef TARGET_DESCRIPTIONS_H
 #define TARGET_DESCRIPTIONS_H 1
 #include "gdbsupport/tdesc.h"
+#include "gdbarch.h"
 
 struct tdesc_arch_data;
 struct target_ops;
index 68c55f4dc7dd80b88a999c2649a993b11b994ce7..39abb126965ea47e144cf79110c5837674f400ed 100644 (file)
@@ -21,7 +21,7 @@
 #include "gdbtypes.h"
 #include "floatformat.h"
 #include "target-float.h"
-
+#include "gdbarch.h"
 
 /* Target floating-point operations.
 
index 2b8bc93fd1d645bcaf9fbb5358cc74f06d143aa4..ca3395763b52d78a7dd640bc9673afdf38784c29 100644 (file)
@@ -26,6 +26,7 @@
 #include "tramp-frame.h"
 #include "elf-bfd.h"
 #include "elf/tic6x.h"
+#include "gdbarch.h"
 
 /* The offset from rt_sigframe pointer to SP register.  */
 #define TIC6X_SP_RT_SIGFRAME 8
index 5f02199da292562c050f8b174f3b5a708b80341a..23454860bb60b16ed269642c1a9d40cc8a5b3059 100644 (file)
@@ -28,6 +28,7 @@
 #include "tramp-frame.h"
 #include "trad-frame.h"
 #include "tilegx-tdep.h"
+#include "gdbarch.h"
 
 /* Signal trampoline support.  */
 
index c28e660a057039d14fe2af5ff7e16b0efbaa42e3..68cf405f6e063e95430b92033b7df325379c2a1b 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -53,6 +53,7 @@
 #include "gdbsupport/buffer.h"
 #include "gdb_select.h"
 #include "gdbsupport/scope-exit.h"
+#include "gdbarch.h"
 
 /* readline include files.  */
 #include "readline/readline.h"
index 7ed2fc08e4997b3a5dbf6e06881fbef02a2024ef..a92104bbf346aad128dddc7c6edbcc26acebc52f 100644 (file)
@@ -23,6 +23,7 @@
 #include "exec.h"
 #include "regcache.h"
 #include "gdbsupport/byte-vector.h"
+#include "gdbarch.h"
 
 /* Helper macros.  */
 
index d9114753c5e2ba9ab00e9f188bdccc7bdfae43a2..a33fa89e3354c754dc44bbc7a9024eabd7f2d164 100644 (file)
@@ -24,6 +24,7 @@
 #include "frame-unwind.h"
 #include "target.h"
 #include "value.h"
+#include "gdbarch.h"
 
 struct trad_frame_cache
 {
index 762afde0bf7b882e91bd7339abe7b2475fde26a1..dce032343b35fb27cf35ebe2c1c7fd8acb8ed618 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef TYPE_STACK_H
 #define TYPE_STACK_H
 
+#include "gdbtypes.h"
 #include <vector>
 
 struct type;
index e61fb064ea0ce76e5555819cac438609b7e2304a..6c3f6e6646f6ca520c5182b0b7814b920dfbd107 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "defs.h"
 #include "ui-style.h"
+#include "gdb_regex.h"
 
 /* A regular expression that is used for matching ANSI terminal escape
    sequences.  */
index 94ce09118d8870a503c3911ae3378d9868af6ba9..7584d5ab3af484cec6c859c146cf7093067a93fc 100644 (file)
@@ -73,6 +73,7 @@
 #include "gdbsupport/pathstuff.h"
 #include "cli/cli-style.h"
 #include "gdbsupport/scope-exit.h"
+#include "gdbarch.h"
 
 void (*deprecated_error_begin_hook) (void);
 
index 3c0aee73eda6e7a3cb8eef58441179f6963f9220..fd724444aa03534466cc0c487e8240d0da6b2ce6 100644 (file)
@@ -25,6 +25,9 @@
 #include "gdbsupport/scoped_restore.h"
 #include <chrono>
 
+struct completion_match_for_lcd;
+class compiled_regex;
+
 extern void initialize_utils (void);
 
 /* String utilities.  */
index e730e5c55d5bafe509bb8951d7d48c35825e3871..4ee7f248b565d9cb1eecf5e94a7d4d58d08ea287 100644 (file)
@@ -27,6 +27,7 @@
 #include "target-float.h"
 #include "infcall.h"
 #include "gdbsupport/byte-vector.h"
+#include "gdbarch.h"
 
 /* Define whether or not the C operator '/' truncates towards zero for
    differently signed operands (truncation direction is undefined in C).  */
index 7b2b79b53964d1a5d723dc88d1ec5d5015c226f9..3a53621b2d06cd9435f44c4a27c50eb86de400f5 100644 (file)
@@ -37,6 +37,7 @@
 #include <algorithm>
 #include "gdbsupport/byte-vector.h"
 #include "cli/cli-option.h"
+#include "gdbarch.h"
 
 /* Maximum number of wchars returned from wchar_iterate.  */
 #define MAX_WCHARS 4
index 17f4ae06d8cae940779e999289d8f45442805329..809006827f219cdea0d60749dce66a191144f92f 100644 (file)
@@ -31,6 +31,7 @@
 #include "inferior.h"
 #include "varobj-iter.h"
 #include "parser-defs.h"
+#include "gdbarch.h"
 
 #if HAVE_PYTHON
 #include "python/python.h"
index 96a70d73158e8bb3367fbd639b31e1cde0b84013..41b209ef5461562f9ba4313fc82556bee6735799 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "defs.h"
 #include "x86-tdep.h"
+#include "symtab.h"
 
 
 /* Check whether NAME is included in NAMES[LO] (inclusive) to NAMES[HI]
index eebd79d33a4e7eae9fda60402bcd9be5c8acf3d8..7ceb93854547034c6d70515495cef9398a46d334 100644 (file)
@@ -25,6 +25,7 @@
 #include "gdbsupport/vec.h"
 #include "gdbsupport/xml-utils.h"
 #include "gdbsupport/byte-vector.h"
+#include "gdbsupport/gdb_optional.h"
 
 struct gdb_xml_parser;
 struct gdb_xml_element;
index 796143c6699baf94b6e0c4bd5bb765af4536556e..be1fba97c721303346057120cbaeed1e41a96610 100644 (file)
@@ -23,6 +23,7 @@
 #include "linux-tdep.h"
 #include "solib-svr4.h"
 #include "symtab.h"
+#include "gdbarch.h"
 
 /* This enum represents the signals' numbers on the Xtensa
    architecture.  It just contains the signal definitions which are
This page took 0.059907 seconds and 4 git commands to generate.