Sort includes for files gdb/[a-f]*.[chyl].

This patch sorts the include files for the files [a-f]*.[chyl].
The patch was written by a script.

Tested by the buildbot.

I will follow up with patches to sort the remaining files, by sorting
a subset, testing them, and then checking them in.

gdb/ChangeLog
2019-04-05  Tom Tromey  <tom@tromey.com>

	* ft32-tdep.c: Sort headers.
	* frv-tdep.c: Sort headers.
	* frv-linux-tdep.c: Sort headers.
	* frame.c: Sort headers.
	* frame-unwind.c: Sort headers.
	* frame-base.c: Sort headers.
	* fork-child.c: Sort headers.
	* findvar.c: Sort headers.
	* findcmd.c: Sort headers.
	* filesystem.c: Sort headers.
	* filename-seen-cache.h: Sort headers.
	* filename-seen-cache.c: Sort headers.
	* fbsd-tdep.c: Sort headers.
	* fbsd-nat.h: Sort headers.
	* fbsd-nat.c: Sort headers.
	* f-valprint.c: Sort headers.
	* f-typeprint.c: Sort headers.
	* f-lang.c: Sort headers.
	* extension.h: Sort headers.
	* extension.c: Sort headers.
	* extension-priv.h: Sort headers.
	* expprint.c: Sort headers.
	* exec.h: Sort headers.
	* exec.c: Sort headers.
	* exceptions.c: Sort headers.
	* event-top.c: Sort headers.
	* event-loop.c: Sort headers.
	* eval.c: Sort headers.
	* elfread.c: Sort headers.
	* dwarf2read.h: Sort headers.
	* dwarf2read.c: Sort headers.
	* dwarf2loc.c: Sort headers.
	* dwarf2expr.h: Sort headers.
	* dwarf2expr.c: Sort headers.
	* dwarf2-frame.c: Sort headers.
	* dwarf2-frame-tailcall.c: Sort headers.
	* dwarf-index-write.h: Sort headers.
	* dwarf-index-write.c: Sort headers.
	* dwarf-index-common.c: Sort headers.
	* dwarf-index-cache.h: Sort headers.
	* dwarf-index-cache.c: Sort headers.
	* dummy-frame.c: Sort headers.
	* dtrace-probe.c: Sort headers.
	* disasm.h: Sort headers.
	* disasm.c: Sort headers.
	* disasm-selftests.c: Sort headers.
	* dictionary.c: Sort headers.
	* dicos-tdep.c: Sort headers.
	* demangle.c: Sort headers.
	* dcache.h: Sort headers.
	* dcache.c: Sort headers.
	* darwin-nat.h: Sort headers.
	* darwin-nat.c: Sort headers.
	* darwin-nat-info.c: Sort headers.
	* d-valprint.c: Sort headers.
	* d-namespace.c: Sort headers.
	* d-lang.c: Sort headers.
	* ctf.c: Sort headers.
	* csky-tdep.c: Sort headers.
	* csky-linux-tdep.c: Sort headers.
	* cris-tdep.c: Sort headers.
	* cris-linux-tdep.c: Sort headers.
	* cp-valprint.c: Sort headers.
	* cp-support.c: Sort headers.
	* cp-namespace.c: Sort headers.
	* cp-abi.c: Sort headers.
	* corelow.c: Sort headers.
	* corefile.c: Sort headers.
	* continuations.c: Sort headers.
	* completer.h: Sort headers.
	* completer.c: Sort headers.
	* complaints.c: Sort headers.
	* coffread.c: Sort headers.
	* coff-pe-read.c: Sort headers.
	* cli-out.h: Sort headers.
	* cli-out.c: Sort headers.
	* charset.c: Sort headers.
	* c-varobj.c: Sort headers.
	* c-valprint.c: Sort headers.
	* c-typeprint.c: Sort headers.
	* c-lang.c: Sort headers.
	* buildsym.c: Sort headers.
	* buildsym-legacy.c: Sort headers.
	* build-id.h: Sort headers.
	* build-id.c: Sort headers.
	* btrace.c: Sort headers.
	* bsd-uthread.c: Sort headers.
	* breakpoint.h: Sort headers.
	* breakpoint.c: Sort headers.
	* break-catch-throw.c: Sort headers.
	* break-catch-syscall.c: Sort headers.
	* break-catch-sig.c: Sort headers.
	* blockframe.c: Sort headers.
	* block.c: Sort headers.
	* bfin-tdep.c: Sort headers.
	* bfin-linux-tdep.c: Sort headers.
	* bfd-target.c: Sort headers.
	* bcache.c: Sort headers.
	* ax-general.c: Sort headers.
	* ax-gdb.h: Sort headers.
	* ax-gdb.c: Sort headers.
	* avr-tdep.c: Sort headers.
	* auxv.c: Sort headers.
	* auto-load.c: Sort headers.
	* arm-wince-tdep.c: Sort headers.
	* arm-tdep.c: Sort headers.
	* arm-symbian-tdep.c: Sort headers.
	* arm-pikeos-tdep.c: Sort headers.
	* arm-obsd-tdep.c: Sort headers.
	* arm-nbsd-tdep.c: Sort headers.
	* arm-nbsd-nat.c: Sort headers.
	* arm-linux-tdep.c: Sort headers.
	* arm-linux-nat.c: Sort headers.
	* arm-fbsd-tdep.c: Sort headers.
	* arm-fbsd-nat.c: Sort headers.
	* arm-bsd-tdep.c: Sort headers.
	* arch-utils.c: Sort headers.
	* arc-tdep.c: Sort headers.
	* arc-newlib-tdep.c: Sort headers.
	* annotate.h: Sort headers.
	* annotate.c: Sort headers.
	* amd64-windows-tdep.c: Sort headers.
	* amd64-windows-nat.c: Sort headers.
	* amd64-tdep.c: Sort headers.
	* amd64-sol2-tdep.c: Sort headers.
	* amd64-obsd-tdep.c: Sort headers.
	* amd64-obsd-nat.c: Sort headers.
	* amd64-nbsd-tdep.c: Sort headers.
	* amd64-nbsd-nat.c: Sort headers.
	* amd64-nat.c: Sort headers.
	* amd64-linux-tdep.c: Sort headers.
	* amd64-linux-nat.c: Sort headers.
	* amd64-fbsd-tdep.c: Sort headers.
	* amd64-fbsd-nat.c: Sort headers.
	* amd64-dicos-tdep.c: Sort headers.
	* amd64-darwin-tdep.c: Sort headers.
	* amd64-bsd-nat.c: Sort headers.
	* alpha-tdep.c: Sort headers.
	* alpha-obsd-tdep.c: Sort headers.
	* alpha-nbsd-tdep.c: Sort headers.
	* alpha-mdebug-tdep.c: Sort headers.
	* alpha-linux-tdep.c: Sort headers.
	* alpha-linux-nat.c: Sort headers.
	* alpha-bsd-tdep.c: Sort headers.
	* alpha-bsd-nat.c: Sort headers.
	* aix-thread.c: Sort headers.
	* agent.c: Sort headers.
	* addrmap.c: Sort headers.
	* ada-varobj.c: Sort headers.
	* ada-valprint.c: Sort headers.
	* ada-typeprint.c: Sort headers.
	* ada-tasks.c: Sort headers.
	* ada-lang.c: Sort headers.
	* aarch64-tdep.c: Sort headers.
	* aarch64-ravenscar-thread.c: Sort headers.
	* aarch64-newlib-tdep.c: Sort headers.
	* aarch64-linux-tdep.c: Sort headers.
	* aarch64-linux-nat.c: Sort headers.
	* aarch64-fbsd-tdep.c: Sort headers.
	* aarch64-fbsd-nat.c: Sort headers.
	* aarch32-linux-nat.c: Sort headers.
This commit is contained in:
Tom Tromey 2019-04-02 20:04:24 -06:00
parent d128f9b8d4
commit d55e5aa6b2
162 changed files with 1887 additions and 1391 deletions

View File

@ -1,3 +1,167 @@
2019-04-05 Tom Tromey <tom@tromey.com>
* ft32-tdep.c: Sort headers.
* frv-tdep.c: Sort headers.
* frv-linux-tdep.c: Sort headers.
* frame.c: Sort headers.
* frame-unwind.c: Sort headers.
* frame-base.c: Sort headers.
* fork-child.c: Sort headers.
* findvar.c: Sort headers.
* findcmd.c: Sort headers.
* filesystem.c: Sort headers.
* filename-seen-cache.h: Sort headers.
* filename-seen-cache.c: Sort headers.
* fbsd-tdep.c: Sort headers.
* fbsd-nat.h: Sort headers.
* fbsd-nat.c: Sort headers.
* f-valprint.c: Sort headers.
* f-typeprint.c: Sort headers.
* f-lang.c: Sort headers.
* extension.h: Sort headers.
* extension.c: Sort headers.
* extension-priv.h: Sort headers.
* expprint.c: Sort headers.
* exec.h: Sort headers.
* exec.c: Sort headers.
* exceptions.c: Sort headers.
* event-top.c: Sort headers.
* event-loop.c: Sort headers.
* eval.c: Sort headers.
* elfread.c: Sort headers.
* dwarf2read.h: Sort headers.
* dwarf2read.c: Sort headers.
* dwarf2loc.c: Sort headers.
* dwarf2expr.h: Sort headers.
* dwarf2expr.c: Sort headers.
* dwarf2-frame.c: Sort headers.
* dwarf2-frame-tailcall.c: Sort headers.
* dwarf-index-write.h: Sort headers.
* dwarf-index-write.c: Sort headers.
* dwarf-index-common.c: Sort headers.
* dwarf-index-cache.h: Sort headers.
* dwarf-index-cache.c: Sort headers.
* dummy-frame.c: Sort headers.
* dtrace-probe.c: Sort headers.
* disasm.h: Sort headers.
* disasm.c: Sort headers.
* disasm-selftests.c: Sort headers.
* dictionary.c: Sort headers.
* dicos-tdep.c: Sort headers.
* demangle.c: Sort headers.
* dcache.h: Sort headers.
* dcache.c: Sort headers.
* darwin-nat.h: Sort headers.
* darwin-nat.c: Sort headers.
* darwin-nat-info.c: Sort headers.
* d-valprint.c: Sort headers.
* d-namespace.c: Sort headers.
* d-lang.c: Sort headers.
* ctf.c: Sort headers.
* csky-tdep.c: Sort headers.
* csky-linux-tdep.c: Sort headers.
* cris-tdep.c: Sort headers.
* cris-linux-tdep.c: Sort headers.
* cp-valprint.c: Sort headers.
* cp-support.c: Sort headers.
* cp-namespace.c: Sort headers.
* cp-abi.c: Sort headers.
* corelow.c: Sort headers.
* corefile.c: Sort headers.
* continuations.c: Sort headers.
* completer.h: Sort headers.
* completer.c: Sort headers.
* complaints.c: Sort headers.
* coffread.c: Sort headers.
* coff-pe-read.c: Sort headers.
* cli-out.h: Sort headers.
* cli-out.c: Sort headers.
* charset.c: Sort headers.
* c-varobj.c: Sort headers.
* c-valprint.c: Sort headers.
* c-typeprint.c: Sort headers.
* c-lang.c: Sort headers.
* buildsym.c: Sort headers.
* buildsym-legacy.c: Sort headers.
* build-id.h: Sort headers.
* build-id.c: Sort headers.
* btrace.c: Sort headers.
* bsd-uthread.c: Sort headers.
* breakpoint.h: Sort headers.
* breakpoint.c: Sort headers.
* break-catch-throw.c: Sort headers.
* break-catch-syscall.c: Sort headers.
* break-catch-sig.c: Sort headers.
* blockframe.c: Sort headers.
* block.c: Sort headers.
* bfin-tdep.c: Sort headers.
* bfin-linux-tdep.c: Sort headers.
* bfd-target.c: Sort headers.
* bcache.c: Sort headers.
* ax-general.c: Sort headers.
* ax-gdb.h: Sort headers.
* ax-gdb.c: Sort headers.
* avr-tdep.c: Sort headers.
* auxv.c: Sort headers.
* auto-load.c: Sort headers.
* arm-wince-tdep.c: Sort headers.
* arm-tdep.c: Sort headers.
* arm-symbian-tdep.c: Sort headers.
* arm-pikeos-tdep.c: Sort headers.
* arm-obsd-tdep.c: Sort headers.
* arm-nbsd-tdep.c: Sort headers.
* arm-nbsd-nat.c: Sort headers.
* arm-linux-tdep.c: Sort headers.
* arm-linux-nat.c: Sort headers.
* arm-fbsd-tdep.c: Sort headers.
* arm-fbsd-nat.c: Sort headers.
* arm-bsd-tdep.c: Sort headers.
* arch-utils.c: Sort headers.
* arc-tdep.c: Sort headers.
* arc-newlib-tdep.c: Sort headers.
* annotate.h: Sort headers.
* annotate.c: Sort headers.
* amd64-windows-tdep.c: Sort headers.
* amd64-windows-nat.c: Sort headers.
* amd64-tdep.c: Sort headers.
* amd64-sol2-tdep.c: Sort headers.
* amd64-obsd-tdep.c: Sort headers.
* amd64-obsd-nat.c: Sort headers.
* amd64-nbsd-tdep.c: Sort headers.
* amd64-nbsd-nat.c: Sort headers.
* amd64-nat.c: Sort headers.
* amd64-linux-tdep.c: Sort headers.
* amd64-linux-nat.c: Sort headers.
* amd64-fbsd-tdep.c: Sort headers.
* amd64-fbsd-nat.c: Sort headers.
* amd64-dicos-tdep.c: Sort headers.
* amd64-darwin-tdep.c: Sort headers.
* amd64-bsd-nat.c: Sort headers.
* alpha-tdep.c: Sort headers.
* alpha-obsd-tdep.c: Sort headers.
* alpha-nbsd-tdep.c: Sort headers.
* alpha-mdebug-tdep.c: Sort headers.
* alpha-linux-tdep.c: Sort headers.
* alpha-linux-nat.c: Sort headers.
* alpha-bsd-tdep.c: Sort headers.
* alpha-bsd-nat.c: Sort headers.
* aix-thread.c: Sort headers.
* agent.c: Sort headers.
* addrmap.c: Sort headers.
* ada-varobj.c: Sort headers.
* ada-valprint.c: Sort headers.
* ada-typeprint.c: Sort headers.
* ada-tasks.c: Sort headers.
* ada-lang.c: Sort headers.
* aarch64-tdep.c: Sort headers.
* aarch64-ravenscar-thread.c: Sort headers.
* aarch64-newlib-tdep.c: Sort headers.
* aarch64-linux-tdep.c: Sort headers.
* aarch64-linux-nat.c: Sort headers.
* aarch64-fbsd-tdep.c: Sort headers.
* aarch64-fbsd-nat.c: Sort headers.
* aarch32-linux-nat.c: Sort headers.
2019-04-04 Tom Tromey <tom@tromey.com>
* varobj.c (varobj_create): Update.

View File

@ -17,12 +17,12 @@
#include "defs.h"
#include "regcache.h"
#include "arm-tdep.h"
#include "arm-linux-tdep.h"
#include "arch/arm-linux.h"
/* Local non-gdb includes. */
#include "aarch32-linux-nat.h"
#include "arch/arm-linux.h"
#include "arm-linux-tdep.h"
#include "arm-tdep.h"
#include "regcache.h"
/* Supply GP registers contents, stored in REGS, to REGCACHE. ARM_APCS_32
is true if the 32-bit mode is in use, otherwise, it is false. */

View File

@ -18,16 +18,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include <sys/types.h>
#include <sys/ptrace.h>
/* Standard C includes. */
#include <machine/reg.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include "fbsd-nat.h"
#include "aarch64-tdep.h"
/* Local non-gdb includes. */
#include "aarch64-fbsd-tdep.h"
#include "aarch64-tdep.h"
#include "fbsd-nat.h"
#include "inf-ptrace.h"
#include "target.h"
struct aarch64_fbsd_nat_target final : public fbsd_nat_target
{

View File

@ -19,15 +19,16 @@
#include "defs.h"
#include "gdbarch.h"
#include "fbsd-tdep.h"
#include "aarch64-tdep.h"
/* Local non-gdb includes. */
#include "aarch64-fbsd-tdep.h"
#include "aarch64-tdep.h"
#include "fbsd-tdep.h"
#include "gdbarch.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "target.h"
#include "tramp-frame.h"
#include "trad-frame.h"
#include "tramp-frame.h"
/* Register maps. */

View File

@ -20,29 +20,29 @@
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include "target-descriptions.h"
#include "auxv.h"
#include "gdbcmd.h"
#include "aarch64-tdep.h"
#include "aarch64-linux-tdep.h"
#include "aarch32-linux-nat.h"
#include "nat/aarch64-linux.h"
#include "nat/aarch64-linux-hw-point.h"
#include "nat/aarch64-sve-linux-ptrace.h"
#include "elf/external.h"
#include "elf/common.h"
#include "nat/gdb_ptrace.h"
#include <sys/utsname.h>
/* Standard C includes. */
#include <asm/ptrace.h>
#include <sys/utsname.h>
/* Local non-gdb includes. */
#include "aarch32-linux-nat.h"
#include "aarch64-linux-tdep.h"
#include "aarch64-tdep.h"
#include "auxv.h"
#include "elf/common.h"
#include "elf/external.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gregset.h"
#include "inferior.h"
#include "linux-nat.h"
#include "linux-tdep.h"
#include "nat/aarch64-linux-hw-point.h"
#include "nat/aarch64-linux.h"
#include "nat/aarch64-sve-linux-ptrace.h"
#include "nat/gdb_ptrace.h"
#include "regcache.h"
#include "target-descriptions.h"
/* Defines ps_err_e, struct ps_prochandle. */
#include "gdb_proc_service.h"

View File

@ -20,33 +20,33 @@
#include "defs.h"
#include "gdbarch.h"
#include "arch-utils.h"
#include "glibc-tdep.h"
#include "linux-tdep.h"
#include "aarch64-tdep.h"
#include "aarch64-linux-tdep.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "tramp-frame.h"
#include "trad-frame.h"
#include "inferior.h"
#include "regcache.h"
#include "regset.h"
#include "cli/cli-utils.h"
#include "stap-probe.h"
#include "parser-defs.h"
#include "user-regs.h"
#include "xml-syscall.h"
/* Standard C includes. */
#include <ctype.h>
#include "record-full.h"
#include "linux-record.h"
/* Local non-gdb includes. */
#include "aarch64-linux-tdep.h"
#include "aarch64-tdep.h"
#include "arch-utils.h"
#include "auxv.h"
#include "cli/cli-utils.h"
#include "elf/common.h"
#include "gdbarch.h"
#include "glibc-tdep.h"
#include "inferior.h"
#include "linux-record.h"
#include "linux-tdep.h"
#include "osabi.h"
#include "parser-defs.h"
#include "record-full.h"
#include "regcache.h"
#include "regset.h"
#include "solib-svr4.h"
#include "stap-probe.h"
#include "symtab.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "user-regs.h"
#include "xml-syscall.h"
/* Signal frame handling.

View File

@ -20,8 +20,9 @@
#include "defs.h"
#include "gdbarch.h"
/* Local non-gdb includes. */
#include "aarch64-tdep.h"
#include "gdbarch.h"
#include "osabi.h"
/* Implement the 'init_osabi' method of struct gdb_osabi_handler. */

View File

@ -18,12 +18,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
/* Local non-gdb includes. */
#include "aarch64-ravenscar-thread.h"
#include "aarch64-tdep.h"
#include "gdbcore.h"
#include "inferior.h"
#include "ravenscar-thread.h"
#include "aarch64-ravenscar-thread.h"
#include "regcache.h"
#define NO_OFFSET -1

View File

@ -20,46 +20,44 @@
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h"
#include "regcache.h"
#include "reggroups.h"
#include "value.h"
#include "arch-utils.h"
#include "osabi.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "objfiles.h"
#include "dwarf2.h"
#include "dwarf2-frame.h"
#include "gdbtypes.h"
#include "prologue-value.h"
#include "target-descriptions.h"
#include "user-regs.h"
#include "language.h"
#include "infcall.h"
#include "ax.h"
#include "ax-gdb.h"
#include "common/selftest.h"
/* Standard C++ includes. */
#include <algorithm>
#include "aarch64-tdep.h"
/* Local non-gdb includes. */
#include "aarch64-ravenscar-thread.h"
#include "aarch64-tdep.h"
#include "arch-utils.h"
#include "arch/aarch64-insn.h"
#include "ax-gdb.h"
#include "ax.h"
#include "common/selftest.h"
#include "common/vec.h"
#include "dis-asm.h"
#include "dwarf2-frame.h"
#include "dwarf2.h"
#include "elf-bfd.h"
#include "elf/aarch64.h"
#include "common/vec.h"
#include "record.h"
#include "record-full.h"
#include "arch/aarch64-insn.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "infcall.h"
#include "inferior.h"
#include "language.h"
#include "objfiles.h"
#include "opcode/aarch64.h"
#include <algorithm>
#include "osabi.h"
#include "prologue-value.h"
#include "record-full.h"
#include "record.h"
#include "regcache.h"
#include "reggroups.h"
#include "target-descriptions.h"
#include "trad-frame.h"
#include "user-regs.h"
#include "value.h"
#define submask(x) ((1L << ((x) + 1)) - 1)
#define bit(obj,st) (((obj) >> (st)) & 1)

View File

@ -19,51 +19,56 @@
#include "defs.h"
#include <ctype.h>
#include "demangle.h"
#include "gdb_regex.h"
#include "frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcmd.h"
#include "expression.h"
#include "parser-defs.h"
#include "language.h"
#include "varobj.h"
#include "c-lang.h"
#include "inferior.h"
#include "symfile.h"
#include "objfiles.h"
#include "breakpoint.h"
#include "gdbcore.h"
#include "hashtab.h"
#include "gdb_obstack.h"
#include "ada-lang.h"
#include "completer.h"
#include <sys/stat.h>
#include "ui-out.h"
#include "block.h"
#include "infcall.h"
#include "dictionary.h"
#include "annotate.h"
#include "valprint.h"
#include "source.h"
#include "observable.h"
#include "common/vec.h"
#include "stack.h"
#include "common/gdb_vecs.h"
#include "typeprint.h"
#include "namespace.h"
#include "psymtab.h"
#include "value.h"
#include "mi/mi-common.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "common/function-view.h"
#include "common/byte-vector.h"
/* Standard C includes. */
#include <ctype.h>
#include <sys/stat.h>
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "annotate.h"
#include "arch-utils.h"
#include "block.h"
#include "breakpoint.h"
#include "c-lang.h"
#include "cli/cli-utils.h"
#include "common/byte-vector.h"
#include "common/function-view.h"
#include "common/gdb_vecs.h"
#include "common/vec.h"
#include "completer.h"
#include "demangle.h"
#include "dictionary.h"
#include "expression.h"
#include "frame.h"
#include "gdb_obstack.h"
#include "gdb_regex.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "hashtab.h"
#include "infcall.h"
#include "inferior.h"
#include "language.h"
#include "mi/mi-common.h"
#include "namespace.h"
#include "objfiles.h"
#include "observable.h"
#include "parser-defs.h"
#include "psymtab.h"
#include "source.h"
#include "stack.h"
#include "symfile.h"
#include "symtab.h"
#include "typeprint.h"
#include "ui-out.h"
#include "valprint.h"
#include "value.h"
#include "varobj.h"
/* Define whether or not the C operator '/' truncates towards zero for
differently signed operands (truncation direction is undefined in C).
Copied from valarith.c. */

View File

@ -16,15 +16,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "observable.h"
#include "gdbcmd.h"
#include "target.h"
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "inferior.h"
#include "gdbthread.h"
#include "progspace.h"
#include "inferior.h"
#include "objfiles.h"
#include "observable.h"
#include "progspace.h"
#include "target.h"
static int ada_build_task_list ();

View File

@ -17,24 +17,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdb_obstack.h"
#include "bfd.h" /* Binary File Description */
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "gdbcore.h"
#include "target.h"
#include "command.h"
#include "gdbcmd.h"
#include "language.h"
#include "demangle.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "bfd.h"
#include "c-lang.h"
#include "cli/cli-style.h"
#include "typeprint.h"
#include "command.h"
#include "demangle.h"
#include "expression.h"
#include "gdb_obstack.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "language.h"
#include "symtab.h"
#include "target-float.h"
#include "ada-lang.h"
#include <ctype.h>
#include "target.h"
#include "typeprint.h"
#include "value.h"
static int print_selected_record_field_types (struct type *, struct type *,
int, int,

View File

@ -18,20 +18,24 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <ctype.h>
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "demangle.h"
#include "valprint.h"
#include "language.h"
#include "annotate.h"
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "annotate.h"
#include "c-lang.h"
#include "demangle.h"
#include "expression.h"
#include "gdbtypes.h"
#include "infcall.h"
#include "language.h"
#include "objfiles.h"
#include "symtab.h"
#include "target-float.h"
#include "valprint.h"
#include "value.h"
static int print_field_values (struct type *, const gdb_byte *,
int,

View File

@ -18,10 +18,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "varobj.h"
#include "language.h"
#include "valprint.h"
#include "varobj.h"
/* Implementation principle used in this unit:

View File

@ -18,9 +18,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "splay-tree.h"
#include "gdb_obstack.h"
/* Local non-gdb includes. */
#include "addrmap.h"
#include "gdb_obstack.h"
#include "splay-tree.h"
/* The "abstract class". */

View File

@ -16,10 +16,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "command.h"
#include "common/agent.h"
#include "gdbcmd.h"
#include "target.h"
#include "common/agent.h"
/* Enum strings for "set|show agent". */

View File

@ -40,21 +40,24 @@
*/
#include "defs.h"
#include "gdbthread.h"
#include "target.h"
#include "inferior.h"
#include "regcache.h"
#include "gdbcmd.h"
#include "ppc-tdep.h"
#include "observable.h"
#include "objfiles.h"
/* Standard C includes. */
#include <procinfo.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/reg.h>
#include <sched.h>
#include <sys/pthdebug.h>
#include <sys/ptrace.h>
#include <sys/reg.h>
#include <sys/types.h>
/* Local non-gdb includes. */
#include "gdbcmd.h"
#include "gdbthread.h"
#include "inferior.h"
#include "objfiles.h"
#include "observable.h"
#include "ppc-tdep.h"
#include "regcache.h"
#include "target.h"
#if !HAVE_DECL_GETTHRDS
extern int getthrds (pid_t, struct thrdsinfo64 *, int, tid_t *, int);

View File

@ -18,20 +18,21 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "alpha-tdep.h"
#include "alpha-bsd-tdep.h"
#include "inf-ptrace.h"
#include <sys/types.h>
#include <sys/ptrace.h>
/* Standard C includes. */
#include <machine/reg.h>
#ifdef HAVE_SYS_PROCFS_H
#include <sys/procfs.h>
#endif
#include <sys/ptrace.h>
#include <sys/types.h>
/* Local non-gdb includes. */
#include "alpha-bsd-tdep.h"
#include "alpha-tdep.h"
#include "inf-ptrace.h"
#include "inferior.h"
#include "regcache.h"
#ifndef HAVE_GREGSET_T
typedef struct reg gregset_t;

View File

@ -18,10 +18,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "regcache.h"
#include "alpha-tdep.h"
/* Local non-gdb includes. */
#include "alpha-bsd-tdep.h"
#include "alpha-tdep.h"
#include "regcache.h"
/* Conviently, GDB uses the same register numbering as the
ptrace register structure used by BSD on Alpha. */

View File

@ -17,17 +17,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "regcache.h"
#include "linux-nat-trad.h"
#include "alpha-tdep.h"
#include "nat/gdb_ptrace.h"
/* Standard C includes. */
#include <alpha/ptrace.h>
#include <sys/procfs.h>
/* Local non-gdb includes. */
#include "alpha-tdep.h"
#include "gregset.h"
#include "linux-nat-trad.h"
#include "nat/gdb_ptrace.h"
#include "regcache.h"
#include "target.h"
/* The address of UNIQUE for ptrace. */
#define ALPHA_UNIQUE_PTRACE_ADDR 65

View File

@ -17,14 +17,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "alpha-tdep.h"
#include "frame.h"
#include "linux-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "regset.h"
#include "regcache.h"
#include "linux-tdep.h"
#include "alpha-tdep.h"
/* This enum represents the signals' numbers on the Alpha
architecture. It just contains the signal definitions which are

View File

@ -17,16 +17,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "symtab.h"
#include "gdbcore.h"
#include "block.h"
#include "trad-frame.h"
/* Local non-gdb includes. */
#include "alpha-tdep.h"
#include "block.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcore.h"
#include "mdebugread.h"
#include "symtab.h"
#include "trad-frame.h"
/* FIXME: Some of this code should perhaps be merged with mips. */

View File

@ -20,18 +20,19 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "alpha-bsd-tdep.h"
#include "alpha-tdep.h"
#include "frame.h"
#include "gdbcore.h"
#include "nbsd-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "value.h"
#include "alpha-tdep.h"
#include "alpha-bsd-tdep.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"
#include "target.h"
#include "value.h"
/* Core file support. */

View File

@ -18,13 +18,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "alpha-bsd-tdep.h"
#include "alpha-tdep.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
#include "obsd-tdep.h"
#include "alpha-tdep.h"
#include "alpha-bsd-tdep.h"
#include "osabi.h"
#include "solib-svr4.h"
/* Signal trampolines. */

View File

@ -18,31 +18,33 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "alpha-tdep.h"
#include "arch-utils.h"
#include "block.h"
#include "dis-asm.h"
#include "dwarf2-frame.h"
#include "inferior.h"
#include "symtab.h"
#include "value.h"
#include "elf-bfd.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h"
#include "symfile.h"
#include "objfiles.h"
#include "infcall.h"
#include "inferior.h"
#include "linespec.h"
#include "objfiles.h"
#include "osabi.h"
#include "regcache.h"
#include "reggroups.h"
#include "arch-utils.h"
#include "osabi.h"
#include "block.h"
#include "infcall.h"
#include "symfile.h"
#include "symtab.h"
#include "trad-frame.h"
#include "elf-bfd.h"
#include "alpha-tdep.h"
#include <algorithm>
#include "value.h"
/* Instruction decoding. The notations for registers, immediates and
opcodes are the same as the one used in Compaq's Alpha architecture

View File

@ -18,6 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "inferior.h"
#include "regcache.h"
#include "target.h"

View File

@ -19,24 +19,25 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
#include "target.h"
#include "symtab.h"
#include "regcache.h"
#include "objfiles.h"
#include "i387-tdep.h"
#include "common/x86-xstate.h"
#include "amd64-tdep.h"
#include "osabi.h"
#include "ui-out.h"
/* Local non-gdb includes. */
#include "amd64-darwin-tdep.h"
#include "i386-darwin-tdep.h"
#include "solib.h"
#include "solib-darwin.h"
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "dwarf2-frame.h"
#include "frame.h"
#include "gdbcore.h"
#include "i386-darwin-tdep.h"
#include "i387-tdep.h"
#include "inferior.h"
#include "objfiles.h"
#include "osabi.h"
#include "regcache.h"
#include "solib-darwin.h"
#include "solib.h"
#include "symtab.h"
#include "target.h"
#include "ui-out.h"
/* Offsets into the struct x86_thread_state64 where we'll find the saved regs.
From <mach/i386/thread_status.h> and amd64-tdep.h. */

View File

@ -18,10 +18,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "dicos-tdep.h"
#include "osabi.h"
static void
amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)

View File

@ -18,23 +18,26 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <machine/reg.h>
#include <signal.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/user.h>
/* Local non-gdb includes. */
#include "amd64-bsd-nat.h"
#include "amd64-nat.h"
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "fbsd-nat.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
#include <signal.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include <machine/reg.h>
#include "fbsd-nat.h"
#include "amd64-tdep.h"
#include "amd64-nat.h"
#include "amd64-bsd-nat.h"
#include "x86-nat.h"
#include "common/x86-xstate.h"
class amd64_fbsd_nat_target final

View File

@ -18,17 +18,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "arch-utils.h"
#include "common/x86-xstate.h"
#include "fbsd-tdep.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"
#include "osabi.h"
#include "regset.h"
#include "i386-fbsd-tdep.h"
#include "common/x86-xstate.h"
#include "amd64-tdep.h"
#include "fbsd-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "solib-svr4.h"
/* Support for signal handlers. */

View File

@ -19,25 +19,27 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "elf/common.h"
#include <sys/uio.h>
#include "nat/gdb_ptrace.h"
/* Standard C includes. */
#include <asm/prctl.h>
#include <sys/reg.h>
#include "gregset.h"
#include "gdb_proc_service.h"
#include <sys/uio.h>
/* Local non-gdb includes. */
#include "amd64-linux-tdep.h"
#include "amd64-nat.h"
#include "amd64-tdep.h"
#include "amd64-linux-tdep.h"
#include "i386-linux-tdep.h"
#include "common/x86-xstate.h"
#include "x86-linux-nat.h"
#include "nat/linux-ptrace.h"
#include "elf/common.h"
#include "gdb_proc_service.h"
#include "gregset.h"
#include "i386-linux-tdep.h"
#include "inferior.h"
#include "nat/amd64-linux-siginfo.h"
#include "nat/gdb_ptrace.h"
#include "nat/linux-ptrace.h"
#include "regcache.h"
#include "x86-linux-nat.h"
/* This definition comes from prctl.h. Kernels older than 2.5.64
do not have it. */

View File

@ -19,28 +19,29 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "amd64-linux-tdep.h"
#include "amd64-tdep.h"
#include "arch-utils.h"
#include "arch/amd64.h"
#include "common/x86-xstate.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"
#include "osabi.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "reggroups.h"
#include "regset.h"
#include "parser-defs.h"
#include "user-regs.h"
#include "amd64-linux-tdep.h"
#include "glibc-tdep.h"
#include "i386-linux-tdep.h"
#include "linux-tdep.h"
#include "common/x86-xstate.h"
#include "amd64-tdep.h"
#include "osabi.h"
#include "parser-defs.h"
#include "regcache.h"
#include "reggroups.h"
#include "regset.h"
#include "solib-svr4.h"
#include "xml-syscall.h"
#include "glibc-tdep.h"
#include "arch/amd64.h"
#include "symtab.h"
#include "target-descriptions.h"
#include "user-regs.h"
#include "xml-syscall.h"
/* The syscall's XML filename for i386. */
#define XML_SYSCALL_FILENAME_AMD64 "syscalls/amd64-linux.xml"

View File

@ -18,12 +18,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "regcache.h"
#include "i386-tdep.h"
#include "amd64-tdep.h"
/* Local non-gdb includes. */
#include "amd64-nat.h"
#include "amd64-tdep.h"
#include "gdbarch.h"
#include "i386-tdep.h"
#include "regcache.h"
/* The following bits of code help with implementing debugging 32-bit
code natively on AMD64. The idea is to define two mappings between

View File

@ -18,12 +18,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "nbsd-nat.h"
#include "amd64-tdep.h"
/* Local non-gdb includes. */
#include "amd64-bsd-nat.h"
#include "amd64-nat.h"
#include "amd64-tdep.h"
#include "nbsd-nat.h"
#include "target.h"
/* Mapping between the general-purpose registers in NetBSD/amd64
`struct reg' format and GDB's register cache layout for

View File

@ -18,16 +18,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "arch-utils.h"
#include "common/x86-xstate.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
#include "symtab.h"
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "nbsd-tdep.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "symtab.h"
/* Support for signal handlers. */

View File

@ -18,14 +18,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "target.h"
#include "amd64-tdep.h"
/* Local non-gdb includes. */
#include "amd64-bsd-nat.h"
#include "amd64-nat.h"
#include "amd64-tdep.h"
#include "gdbcore.h"
#include "obsd-nat.h"
#include "regcache.h"
#include "target.h"
/* Mapping between the general-purpose registers in OpenBSD/amd64
`struct reg' format and GDB's register cache layout for

View File

@ -18,24 +18,25 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "bsd-uthread.h"
#include "common/x86-xstate.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcore.h"
#include "symtab.h"
#include "i387-tdep.h"
#include "objfiles.h"
#include "obsd-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "target.h"
#include "trad-frame.h"
#include "obsd-tdep.h"
#include "amd64-tdep.h"
#include "i387-tdep.h"
#include "common/x86-xstate.h"
#include "solib-svr4.h"
#include "bsd-uthread.h"
/* Support for signal handlers. */
/* Default page size. */

View File

@ -20,16 +20,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"
#include "osabi.h"
#include "symtab.h"
#include "sol2-tdep.h"
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
#include "regcache.h"
#include "sol2-tdep.h"
#include "solib-svr4.h"
#include "symtab.h"
/* Mapping between the general-purpose registers in gregset_t format
and GDB's register cache layout. */

View File

@ -20,34 +20,38 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "opcode/i386.h"
#include "dis-asm.h"
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "arch-utils.h"
#include "arch/amd64.h"
#include "ax-gdb.h"
#include "ax.h"
#include "block.h"
#include "common/byte-vector.h"
#include "common/x86-xstate.h"
#include "dis-asm.h"
#include "disasm.h"
#include "dummy-frame.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "inferior.h"
#include "infrun.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "i387-tdep.h"
#include "inferior.h"
#include "infrun.h"
#include "objfiles.h"
#include "opcode/i386.h"
#include "osabi.h"
#include "producer.h"
#include "regcache.h"
#include "regset.h"
#include "symfile.h"
#include "disasm.h"
#include "amd64-tdep.h"
#include "i387-tdep.h"
#include "common/x86-xstate.h"
#include <algorithm>
#include "target-descriptions.h"
#include "arch/amd64.h"
#include "producer.h"
#include "ax.h"
#include "ax-gdb.h"
#include "common/byte-vector.h"
#include "osabi.h"
#include "x86-tdep.h"
/* Note that the AMD64 architecture was previously known as x86-64.

View File

@ -16,11 +16,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <windows.h>
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "windows-nat.h"
#include "x86-nat.h"
#include "amd64-tdep.h"
#include <windows.h>
#define context_offset(x) (offsetof (CONTEXT, x))
static const int mappings[] =

View File

@ -16,23 +16,27 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "common/x86-xstate.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "regcache.h"
#include "windows-tdep.h"
#include "frame.h"
#include "objfiles.h"
#include "frame-unwind.h"
#include "coff/internal.h"
#include "coff/i386.h"
#include "coff/pe.h"
#include "libcoff.h"
#include "value.h"
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "amd64-tdep.h"
#include "coff/i386.h"
#include "coff/internal.h"
#include "coff/pe.h"
#include "common/x86-xstate.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "libcoff.h"
#include "objfiles.h"
#include "osabi.h"
#include "regcache.h"
#include "value.h"
#include "windows-tdep.h"
/* The registers used to pass integer arguments during a function call. */
static int amd64_windows_dummy_call_integer_regs[] =
{

View File

@ -17,15 +17,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "annotate.h"
#include "value.h"
#include "target.h"
#include "gdbtypes.h"
#include "breakpoint.h"
#include "observable.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "infrun.h"
#include "observable.h"
#include "target.h"
#include "top.h"
#include "value.h"
/* Prototypes for local functions. */

View File

@ -19,8 +19,8 @@
#ifndef ANNOTATE_H
#define ANNOTATE_H
#include "symtab.h"
#include "gdbtypes.h"
#include "symtab.h"
extern void annotate_breakpoint (int);
extern void annotate_catchpoint (int);

View File

@ -20,8 +20,9 @@
#include "defs.h"
#include "gdbarch.h"
/* Local non-gdb includes. */
#include "arc-tdep.h"
#include "gdbarch.h"
#include "osabi.h"
/* Implement the 'init_osabi' method of struct gdb_osabi_handler. */

View File

@ -20,13 +20,15 @@
/* GDB header files. */
#include "defs.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "disasm.h"
#include "dwarf2-frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "prologue-value.h"
#include "trad-frame.h"

View File

@ -19,24 +19,22 @@
#include "defs.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "common/version.h"
#include "dis-asm.h"
#include "floatformat.h"
#include "gdbcmd.h"
#include "inferior.h" /* enum CALL_DUMMY_LOCATION et al. */
#include "gdbcore.h"
#include "inferior.h"
#include "infrun.h"
#include "language.h"
#include "objfiles.h"
#include "osabi.h"
#include "regcache.h"
#include "sim-regno.h"
#include "gdbcore.h"
#include "osabi.h"
#include "target-descriptions.h"
#include "objfiles.h"
#include "language.h"
#include "symtab.h"
#include "common/version.h"
#include "floatformat.h"
#include "dis-asm.h"
#include "target-descriptions.h"
int
default_displaced_step_hw_singlestep (struct gdbarch *gdbarch,

View File

@ -18,12 +18,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "arm-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "arm-tdep.h"
/* Core file support. */
/* Sizeof `struct reg' in <machine/reg.h>. */

View File

@ -18,16 +18,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include <sys/types.h>
#include <sys/ptrace.h>
/* Standard C includes. */
#include <machine/reg.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include "fbsd-nat.h"
#include "arm-tdep.h"
/* Local non-gdb includes. */
#include "arm-fbsd-tdep.h"
#include "arm-tdep.h"
#include "fbsd-nat.h"
#include "inf-ptrace.h"
#include "target.h"
struct arm_fbsd_nat_target : public fbsd_nat_target
{

View File

@ -19,10 +19,11 @@
#include "defs.h"
#include "elf/common.h"
#include "arm-tdep.h"
/* Local non-gdb includes. */
#include "arm-fbsd-tdep.h"
#include "arm-tdep.h"
#include "auxv.h"
#include "elf/common.h"
#include "fbsd-tdep.h"
#include "gdbcore.h"
#include "osabi.h"

View File

@ -17,28 +17,29 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "target.h"
#include "linux-nat.h"
#include "target-descriptions.h"
#include "auxv.h"
#include "observable.h"
#include "gdbthread.h"
#include "arm-tdep.h"
#include "arm-linux-tdep.h"
#include "aarch32-linux-nat.h"
/* Standard C includes. */
#include <elf/common.h>
#include <sys/user.h>
#include "nat/gdb_ptrace.h"
#include <sys/utsname.h>
#include <sys/procfs.h>
#include <sys/user.h>
#include <sys/utsname.h>
#include "nat/linux-ptrace.h"
/* Local non-gdb includes. */
#include "aarch32-linux-nat.h"
#include "arm-linux-tdep.h"
#include "arm-tdep.h"
#include "auxv.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "inferior.h"
#include "linux-nat.h"
#include "linux-tdep.h"
#include "nat/gdb_ptrace.h"
#include "nat/linux-ptrace.h"
#include "observable.h"
#include "regcache.h"
#include "target-descriptions.h"
#include "target.h"
/* Prototypes for supply_gregset etc. */
#include "gregset.h"

View File

@ -18,43 +18,45 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "value.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "frame.h"
#include "regcache.h"
#include "solib-svr4.h"
#include "osabi.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "breakpoint.h"
#include "auxv.h"
#include "xml-syscall.h"
#include "arch/arm.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "arch/arm-get-next-pcs.h"
#include "arch/arm-linux.h"
#include "arm-tdep.h"
#include "arch/arm.h"
#include "arm-linux-tdep.h"
#include "linux-tdep.h"
#include "arm-tdep.h"
#include "auxv.h"
#include "breakpoint.h"
#include "cli/cli-utils.h"
#include "elf/common.h"
#include "frame.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "gdbtypes.h"
#include "glibc-tdep.h"
#include "arch-utils.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbthread.h"
#include "symfile.h"
#include "record-full.h"
#include "linux-record.h"
#include "cli/cli-utils.h"
#include "stap-probe.h"
#include "linux-tdep.h"
#include "osabi.h"
#include "parser-defs.h"
#include "record-full.h"
#include "regcache.h"
#include "regset.h"
#include "solib-svr4.h"
#include "stap-probe.h"
#include "symfile.h"
#include "target.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "user-regs.h"
#include <ctype.h>
#include "elf/common.h"
#include "value.h"
#include "xml-syscall.h"
extern int arm_apcs_32;
/* Under ARM GNU/Linux the traditional way of performing a breakpoint

View File

@ -18,17 +18,20 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <machine/frame.h>
#include <machine/reg.h>
#include <sys/ptrace.h>
#include <sys/types.h>
/* Local non-gdb includes. */
#include "arm-tdep.h"
#include "gdbcore.h"
#include "inf-ptrace.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include <machine/frame.h>
#include "arm-tdep.h"
#include "inf-ptrace.h"
class arm_netbsd_nat_target final : public inf_ptrace_target
{

View File

@ -18,10 +18,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
/* Local non-gdb includes. */
#include "arch/arm.h"
#include "arm-tdep.h"
#include "osabi.h"
#include "solib-svr4.h"
/* Description of the longjmp buffer. */

View File

@ -18,14 +18,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "arm-tdep.h"
#include "obsd-tdep.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "obsd-tdep.h"
#include "arm-tdep.h"
#include "solib-svr4.h"
/* Signal trampolines. */
static void

View File

@ -16,8 +16,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "objfiles.h"
/* Local non-gdb includes. */
#include "arm-tdep.h"
#include "objfiles.h"
#include "osabi.h"
/* The gdbarch_register_osabi handler for ARM PikeOS; it performs

View File

@ -18,13 +18,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "elf-bfd.h"
#include "frame.h"
#include "objfiles.h"
#include "osabi.h"
#include "solib.h"
#include "solib-target.h"
#include "solib.h"
#include "target.h"
#include "elf-bfd.h"
/* If PC is in a DLL import stub, return the address of the `real'
function belonging to the stub. */

View File

@ -19,55 +19,54 @@
#include "defs.h"
#include <ctype.h> /* XXX for isupper (). */
/* Standard C includes. */
#include <ctype.h>
#include "frame.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h" /* For register styles. */
#include "disasm.h"
#include "regcache.h"
#include "reggroups.h"
#include "target-float.h"
#include "value.h"
#include "arch-utils.h"
#include "osabi.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "objfiles.h"
#include "dwarf2-frame.h"
#include "gdbtypes.h"
#include "prologue-value.h"
#include "remote.h"
#include "target-descriptions.h"
#include "user-regs.h"
#include "observable.h"
#include "arch/arm.h"
#include "arch/arm-get-next-pcs.h"
#include "arm-tdep.h"
#include "gdb/sim-arm.h"
#include "elf-bfd.h"
#include "coff/internal.h"
#include "elf/arm.h"
#include "common/vec.h"
#include "record.h"
#include "record-full.h"
/* Standard C++ includes. */
#include <algorithm>
#include "features/arm/arm-with-m.c"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "arch/arm-get-next-pcs.h"
#include "arch/arm.h"
#include "arm-tdep.h"
#include "coff/internal.h"
#include "common/vec.h"
#include "dis-asm.h"
#include "disasm.h"
#include "dwarf2-frame.h"
#include "elf-bfd.h"
#include "elf/arm.h"
#include "features/arm/arm-with-iwmmxt.c"
#include "features/arm/arm-with-m-fpa-layout.c"
#include "features/arm/arm-with-m-vfp-d16.c"
#include "features/arm/arm-with-iwmmxt.c"
#include "features/arm/arm-with-m.c"
#include "features/arm/arm-with-neon.c"
#include "features/arm/arm-with-vfpv2.c"
#include "features/arm/arm-with-vfpv3.c"
#include "features/arm/arm-with-neon.c"
#include "frame-base.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdb/sim-arm.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "infrun.h"
#include "objfiles.h"
#include "observable.h"
#include "osabi.h"
#include "prologue-value.h"
#include "record-full.h"
#include "record.h"
#include "regcache.h"
#include "reggroups.h"
#include "remote.h"
#include "target-descriptions.h"
#include "target-float.h"
#include "trad-frame.h"
#include "user-regs.h"
#include "value.h"
#if GDB_SELF_TEST
#include "common/selftest.h"

View File

@ -19,13 +19,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "gdbcore.h"
#include "target.h"
#include "frame.h"
/* Local non-gdb includes. */
#include "arch/arm.h"
#include "arm-tdep.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"
#include "target.h"
#include "windows-tdep.h"
static const gdb_byte arm_wince_le_breakpoint[] = { 0x10, 0x00, 0x00, 0xe6 };

View File

@ -18,29 +18,35 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <ctype.h>
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "auto-load.h"
#include "progspace.h"
#include "gdb_regex.h"
#include "ui-out.h"
#include "filenames.h"
#include "command.h"
#include "observable.h"
#include "objfiles.h"
#include "cli/cli-script.h"
#include "gdbcmd.h"
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
#include "cli/cli-script.h"
#include "cli/cli-setshow.h"
#include "readline/tilde.h"
#include "completer.h"
#include "fnmatch.h"
#include "top.h"
#include "command.h"
#include "common/filestuff.h"
#include "extension.h"
#include "gdb/section-scripts.h"
#include <algorithm>
#include "common/pathstuff.h"
#include "completer.h"
#include "extension.h"
#include "filenames.h"
#include "fnmatch.h"
#include "gdb/section-scripts.h"
#include "gdb_regex.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "observable.h"
#include "progspace.h"
#include "readline/tilde.h"
#include "top.h"
#include "ui-out.h"
/* The section to look in for auto-loaded scripts (in file formats that
support sections).

View File

@ -18,21 +18,23 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "gdbtypes.h"
#include "command.h"
#include "inferior.h"
#include "valprint.h"
#include "gdbcore.h"
#include "observable.h"
#include "common/filestuff.h"
#include "objfiles.h"
#include "auxv.h"
#include "elf/common.h"
#include <unistd.h>
/* Standard C includes. */
#include <fcntl.h>
#include <unistd.h>
/* Local non-gdb includes. */
#include "auxv.h"
#include "command.h"
#include "common/filestuff.h"
#include "elf/common.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "objfiles.h"
#include "observable.h"
#include "target.h"
#include "valprint.h"
/* Implement the to_xfer_partial target_ops method. This function

View File

@ -23,20 +23,24 @@
by Denis Chertykov, denisc@overta.ru */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "symfile.h"
#include "arch-utils.h"
#include "regcache.h"
#include "dis-asm.h"
#include "objfiles.h"
#include <algorithm>
#include "regcache.h"
#include "symfile.h"
#include "trad-frame.h"
/* AVR Background:

View File

@ -18,35 +18,36 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "symfile.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "ax-gdb.h"
#include "ax.h"
#include "block.h"
#include "breakpoint.h"
#include "c-lang.h"
#include "cli/cli-utils.h"
#include "command.h"
#include "common/format.h"
#include "cp-support.h"
#include "dictionary.h"
#include "expression.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
#include "language.h"
#include "value.h"
#include "expression.h"
#include "command.h"
#include "gdbcmd.h"
#include "frame.h"
#include "target.h"
#include "ax.h"
#include "ax-gdb.h"
#include "block.h"
#include "regcache.h"
#include "user-regs.h"
#include "dictionary.h"
#include "breakpoint.h"
#include "tracepoint.h"
#include "cp-support.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "linespec.h"
#include "location.h"
#include "objfiles.h"
#include "regcache.h"
#include "symfile.h"
#include "symtab.h"
#include "target.h"
#include "tracepoint.h"
#include "typeprint.h"
#include "user-regs.h"
#include "valprint.h"
#include "c-lang.h"
#include "common/format.h"
#include "value.h"
/* To make sense of this file, you should read doc/agentexpr.texi.
Then look at the types and enums in ax-gdb.h. For the code itself,

View File

@ -19,7 +19,7 @@
#ifndef AX_GDB_H
#define AX_GDB_H
#include "ax.h" /* For agent_expr_up. */
#include "ax.h"
struct expression;
union exp_element;

View File

@ -22,10 +22,11 @@
outside of GDB (test suites, the stub, etc.) */
#include "defs.h"
#include "ax.h"
#include "value.h"
/* Local non-gdb includes. */
#include "ax.h"
#include "user-regs.h"
#include "value.h"
static void grow_expr (struct agent_expr *x, int n);

View File

@ -20,8 +20,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdb_obstack.h"
/* Local non-gdb includes. */
#include "bcache.h"
#include "gdb_obstack.h"
/* The type used to hold a single bcache string. The user data is
stored in d.data. Since it can be any type, it needs to have the

View File

@ -18,10 +18,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
/* Local non-gdb includes. */
#include "bfd-target.h"
#include "exec.h"
#include "gdb_bfd.h"
#include "target.h"
/* A target that wraps a BFD. */

View File

@ -20,14 +20,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "regcache.h"
#include "tramp-frame.h"
#include "trad-frame.h"
#include "osabi.h"
#include "xml-syscall.h"
#include "linux-tdep.h"
#include "bfin-tdep.h"
#include "linux-tdep.h"
#include "osabi.h"
#include "regcache.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "xml-syscall.h"
/* From <asm/sigcontext.h>. */

View File

@ -20,25 +20,27 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "regcache.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "bfin-tdep.h"
#include "dis-asm.h"
#include "sim-regno.h"
#include "gdb/sim-bfin.h"
#include "dwarf2-frame.h"
#include "symtab.h"
#include "elf-bfd.h"
#include "elf/bfin.h"
#include "osabi.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "frame.h"
#include "gdb/sim-bfin.h"
#include "gdbcore.h"
#include "infcall.h"
#include "inferior.h"
#include "osabi.h"
#include "regcache.h"
#include "sim-regno.h"
#include "symtab.h"
#include "trad-frame.h"
#include "xml-syscall.h"
#include "bfin-tdep.h"
/* Macros used by prologue functions. */
#define P_LINKAGE 0xE800

View File

@ -18,14 +18,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "block.h"
#include "symtab.h"
#include "symfile.h"
#include "gdb_obstack.h"
#include "cp-support.h"
/* Local non-gdb includes. */
#include "addrmap.h"
#include "block.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include "gdbtypes.h"
#include "objfiles.h"
#include "symfile.h"
#include "symtab.h"
/* This is used by struct block to store namespace-related info for
C++ files, namely using declarations and the current namespace in

View File

@ -19,21 +19,23 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "bfd.h"
#include "objfiles.h"
#include "frame.h"
#include "gdbcore.h"
#include "value.h"
#include "target.h"
#include "inferior.h"
/* Local non-gdb includes. */
#include "annotate.h"
#include "regcache.h"
#include "dummy-frame.h"
#include "command.h"
#include "gdbcmd.h"
#include "bfd.h"
#include "block.h"
#include "command.h"
#include "dummy-frame.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "inferior.h"
#include "inline-frame.h"
#include "objfiles.h"
#include "regcache.h"
#include "symtab.h"
#include "target.h"
#include "value.h"
/* Return the innermost lexical block in execution in a specified
stack frame. The frame address is assumed valid.

View File

@ -18,18 +18,23 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
/* Standard C includes. */
#include <ctype.h>
/* Standard C++ includes. */
#include <string>
/* Local non-gdb includes. */
#include "annotate.h"
#include "arch-utils.h"
#include "breakpoint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "infrun.h"
#include "annotate.h"
#include "valprint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include <string>
#define INTERNAL_SIGNAL(x) ((x) == GDB_SIGNAL_TRAP || (x) == GDB_SIGNAL_INT)

View File

@ -18,16 +18,20 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "annotate.h"
#include "arch-utils.h"
#include "breakpoint.h"
#include "cli/cli-utils.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "cli/cli-utils.h"
#include "annotate.h"
#include "mi/mi-common.h"
#include "valprint.h"
#include "arch-utils.h"
#include "observable.h"
#include "valprint.h"
#include "xml-syscall.h"
/* An instance of this type is used to represent a syscall catchpoint.

View File

@ -18,24 +18,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
/* Standard C includes. */
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"
#include "inferior.h"
/* Local non-gdb includes. */
#include "annotate.h"
#include "valprint.h"
#include "arch-utils.h"
#include "breakpoint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include "gdb_obstack.h"
#include "mi/mi-common.h"
#include "linespec.h"
#include "probe.h"
#include "objfiles.h"
#include "cp-abi.h"
#include "gdb_regex.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include "gdb_regex.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "linespec.h"
#include "location.h"
#include "mi/mi-common.h"
#include "objfiles.h"
#include "probe.h"
#include "valprint.h"
/* Enums for exception-handling support. */
enum exception_event_kind

View File

@ -18,58 +18,62 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
/* Standard C includes. */
#include <ctype.h>
#include "hashtab.h"
#include "symtab.h"
#include "frame.h"
/* Local non-gdb includes. */
#include "ada-lang.h"
#include "annotate.h"
#include "arch-utils.h"
#include "ax-gdb.h"
#include "block.h"
#include "breakpoint.h"
#include "tracepoint.h"
#include "gdbtypes.h"
#include "expression.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "value.h"
#include "cli/cli-script.h"
#include "cli/cli-style.h"
#include "cli/cli-utils.h"
#include "command.h"
#include "common/format.h"
#include "completer.h"
#include "continuations.h"
#include "dummy-frame.h"
#include "expression.h"
#include "filenames.h"
#include "frame.h"
#include "gdb-demangle.h"
#include "gdb_regex.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "gdbtypes.h"
#include "hashtab.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbthread.h"
#include "target.h"
#include "interps.h"
#include "jit.h"
#include "language.h"
#include "gdb-demangle.h"
#include "filenames.h"
#include "annotate.h"
#include "symfile.h"
#include "objfiles.h"
#include "source.h"
#include "linespec.h"
#include "completer.h"
#include "ui-out.h"
#include "cli/cli-script.h"
#include "block.h"
#include "memattr.h"
#include "mi/mi-main.h"
#include "objfiles.h"
#include "observable.h"
#include "parser-defs.h"
#include "probe.h"
#include "skip.h"
#include "solib.h"
#include "solist.h"
#include "observable.h"
#include "memattr.h"
#include "ada-lang.h"
#include "top.h"
#include "valprint.h"
#include "jit.h"
#include "parser-defs.h"
#include "gdb_regex.h"
#include "probe.h"
#include "cli/cli-utils.h"
#include "continuations.h"
#include "source.h"
#include "stack.h"
#include "skip.h"
#include "ax-gdb.h"
#include "dummy-frame.h"
#include "interps.h"
#include "common/format.h"
#include "symfile.h"
#include "symtab.h"
#include "target.h"
#include "thread-fsm.h"
#include "tid-parse.h"
#include "cli/cli-style.h"
#include "mi/mi-main.h"
#include "top.h"
#include "tracepoint.h"
#include "ui-out.h"
#include "valprint.h"
#include "value.h"
/* readline include files */
#include "readline/readline.h"

View File

@ -19,17 +19,19 @@
#if !defined (BREAKPOINT_H)
#define BREAKPOINT_H 1
#include "frame.h"
#include "value.h"
#include "common/vec.h"
#include "ax.h"
#include "command.h"
#include "common/break-common.h"
#include "probe.h"
#include "location.h"
#include <vector>
#include "common/array-view.h"
/* Local non-gdb includes. */
#include "ax.h"
#include "cli/cli-script.h"
#include "command.h"
#include "common/array-view.h"
#include "common/break-common.h"
#include "common/vec.h"
#include "frame.h"
#include "location.h"
#include "probe.h"
#include "value.h"
struct block;
struct gdbpy_breakpoint_object;

View File

@ -18,6 +18,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "bsd-uthread.h"
#include "gdb_obstack.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "inferior.h"
@ -29,10 +33,6 @@
#include "symfile.h"
#include "target.h"
#include "gdb_obstack.h"
#include "bsd-uthread.h"
static const target_info bsd_uthread_target_info = {
"bsd-uthreads",
N_("BSD user-level threads"),

View File

@ -20,20 +20,22 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "btrace.h"
#include "cli/cli-utils.h"
#include "common/rsp-low.h"
#include "disasm.h"
#include "filenames.h"
#include "gdbcmd.h"
#include "gdbthread.h"
#include "inferior.h"
#include "target.h"
#include "record.h"
#include "symtab.h"
#include "disasm.h"
#include "source.h"
#include "filenames.h"
#include "xml-support.h"
#include "regcache.h"
#include "common/rsp-low.h"
#include "gdbcmd.h"
#include "cli/cli-utils.h"
#include "source.h"
#include "symtab.h"
#include "target.h"
#include "xml-support.h"
/* For maintenance commands. */
#include "record-btrace.h"

View File

@ -18,14 +18,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "bfd.h"
#include "gdb_bfd.h"
#include "build-id.h"
#include "common/gdb_vecs.h"
#include "symfile.h"
#include "objfiles.h"
#include "filenames.h"
#include "gdb_bfd.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "symfile.h"
/* See build-id.h. */

View File

@ -20,8 +20,8 @@
#ifndef BUILD_ID_H
#define BUILD_ID_H
#include "gdb_bfd.h"
#include "common/rsp-low.h"
#include "gdb_bfd.h"
/* Locate NT_GNU_BUILD_ID from ABFD and return its content. */

View File

@ -17,6 +17,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "buildsym-legacy.h"
/* The work-in-progress of the compunit we are building.

View File

@ -17,24 +17,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "buildsym-legacy.h"
#include "bfd.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdbtypes.h"
#include "complaints.h"
#include "expression.h" /* For "enum exp_opcode" used by... */
#include "filenames.h" /* For DOSish file names. */
#include "macrotab.h"
#include "demangle.h" /* Needed by SYMBOL_INIT_DEMANGLED_NAME. */
#include "block.h"
#include "cp-support.h"
#include "dictionary.h"
#include "addrmap.h"
/* Standard C++ includes. */
#include <algorithm>
/* Local non-gdb includes. */
#include "addrmap.h"
#include "bfd.h"
#include "block.h"
#include "buildsym-legacy.h"
#include "complaints.h"
#include "cp-support.h"
#include "demangle.h"
#include "dictionary.h"
#include "expression.h"
#include "filenames.h"
#include "gdb_obstack.h"
#include "gdbtypes.h"
#include "macrotab.h"
#include "objfiles.h"
#include "symfile.h"
#include "symtab.h"
/* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat
questionable--see comment where we call them). */

View File

@ -18,23 +18,27 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "parser-defs.h"
#include "language.h"
#include "varobj.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "c-lang.h"
#include "c-support.h"
#include "valprint.h"
#include "macroscope.h"
#include "charset.h"
#include "demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "demangle.h"
#include "expression.h"
#include "gdb_obstack.h"
#include <ctype.h>
#include "gdbcore.h"
#include "gdbtypes.h"
#include "language.h"
#include "macroscope.h"
#include "parser-defs.h"
#include "symtab.h"
#include "valprint.h"
#include "varobj.h"
/* Given a C string type, STR_TYPE, return the corresponding target
character set name. */

View File

@ -17,21 +17,23 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdb_obstack.h"
#include "bfd.h" /* Binary File Description. */
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "gdbcore.h"
#include "target.h"
#include "language.h"
#include "demangle.h"
/* Local non-gdb includes. */
#include "bfd.h"
#include "c-lang.h"
#include "cli/cli-style.h"
#include "typeprint.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "demangle.h"
#include "expression.h"
#include "gdb_obstack.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "language.h"
#include "symtab.h"
#include "target.h"
#include "typeprint.h"
#include "value.h"
/* A list of access specifiers used for printing. */

View File

@ -18,16 +18,19 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
/* Local non-gdb includes. */
#include "c-lang.h"
#include "cp-abi.h"
#include "target.h"
#include "expression.h"
#include "gdbtypes.h"
#include "language.h"
#include "objfiles.h"
#include "symtab.h"
#include "target.h"
#include "valprint.h"
#include "value.h"
/* A helper for c_textual_element_type. This checks the name of the

View File

@ -16,10 +16,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "value.h"
#include "varobj.h"
/* Local non-gdb includes. */
#include "gdbthread.h"
#include "valprint.h"
#include "value.h"
#include "varobj.h"
static void cplus_class_num_children (struct type *type, int children[3]);

View File

@ -18,17 +18,21 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "charset.h"
#include "gdbcmd.h"
#include "gdb_obstack.h"
#include "common/gdb_wait.h"
#include "charset-list.h"
#include "common/vec.h"
#include "common/environ.h"
#include "arch-utils.h"
#include "common/gdb_vecs.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "charset-list.h"
#include "charset.h"
#include "common/environ.h"
#include "common/gdb_vecs.h"
#include "common/gdb_wait.h"
#include "common/vec.h"
#include "gdb_obstack.h"
#include "gdbcmd.h"
#ifdef USE_WIN32API
#include <windows.h>
#endif

View File

@ -21,11 +21,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "ui-out.h"
/* Local non-gdb includes. */
#include "cli-out.h"
#include "cli/cli-style.h"
#include "completer.h"
#include "readline/readline.h"
#include "cli/cli-style.h"
#include "ui-out.h"
/* These are the CLI output functions */

View File

@ -20,9 +20,11 @@
#ifndef CLI_OUT_H
#define CLI_OUT_H
#include "ui-out.h"
#include <vector>
/* Local non-gdb includes. */
#include "ui-out.h"
class cli_ui_out : public ui_out
{
public:

View File

@ -23,21 +23,21 @@
#include "defs.h"
#include "coff-pe-read.h"
#include "bfd.h"
#include "gdbtypes.h"
#include "command.h"
#include "gdbcmd.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "common/common-utils.h"
#include "coff/internal.h"
/* Standard C includes. */
#include <ctype.h>
/* Local non-gdb includes. */
#include "bfd.h"
#include "coff-pe-read.h"
#include "coff/internal.h"
#include "command.h"
#include "common/common-utils.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
#include "objfiles.h"
#include "symfile.h"
#include "symtab.h"
/* Internal section information */
/* Coff PE read debugging flag:

View File

@ -18,30 +18,30 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "demangle.h"
#include "breakpoint.h"
#include "bfd.h"
#include "gdb_obstack.h"
/* Standard C includes. */
#include <ctype.h>
#include "coff/internal.h" /* Internal format of COFF symbols in BFD */
#include "libcoff.h" /* FIXME secret internal data from BFD */
#include "objfiles.h"
#include "buildsym-legacy.h"
#include "gdb-stabs.h"
#include "stabsread.h"
#include "complaints.h"
#include "target.h"
/* Local non-gdb includes. */
#include "bfd.h"
#include "block.h"
#include "dictionary.h"
#include "coff-pe-read.h"
#include "psymtab.h"
#include "breakpoint.h"
#include "build-id.h"
#include "buildsym-legacy.h"
#include "coff-pe-read.h"
#include "coff/internal.h"
#include "complaints.h"
#include "demangle.h"
#include "dictionary.h"
#include "gdb-stabs.h"
#include "gdb_obstack.h"
#include "gdbtypes.h"
#include "libcoff.h"
#include "objfiles.h"
#include "psymtab.h"
#include "stabsread.h"
#include "symtab.h"
#include "target.h"
/* Key for COFF-associated data. */

View File

@ -18,11 +18,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "complaints.h"
#include "command.h"
#include "gdbcmd.h"
/* Standard C++ includes. */
#include <unordered_map>
/* Local non-gdb includes. */
#include "command.h"
#include "complaints.h"
#include "gdbcmd.h"
/* Map format strings to counters. */
static std::unordered_map<const char *, int> counters;

View File

@ -17,20 +17,24 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "filenames.h" /* For DOSish file names. */
#include "language.h"
#include "common/gdb_signals.h"
#include "target.h"
#include "reggroups.h"
#include "user-regs.h"
#include "arch-utils.h"
#include "location.h"
/* Standard C++ includes. */
#include <algorithm>
#include "linespec.h"
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "cli/cli-decode.h"
#include "common/gdb_signals.h"
#include "expression.h"
#include "filenames.h"
#include "gdbtypes.h"
#include "language.h"
#include "linespec.h"
#include "location.h"
#include "reggroups.h"
#include "symtab.h"
#include "target.h"
#include "user-regs.h"
/* FIXME: This is needed because of lookup_cmd_1 (). We should be
calling a hook instead so we eliminate the CLI dependency. */

View File

@ -17,8 +17,8 @@
#if !defined (COMPLETER_H)
#define COMPLETER_H 1
#include "common/gdb_vecs.h"
#include "command.h"
#include "common/gdb_vecs.h"
/* Types of functions in struct match_list_displayer. */

View File

@ -18,9 +18,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Local non-gdb includes. */
#include "continuations.h"
#include "gdbthread.h"
#include "inferior.h"
#include "continuations.h"
struct continuation
{

View File

@ -18,20 +18,24 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <signal.h>
/* Standard C includes. */
#include <fcntl.h>
#include "inferior.h"
#include "symtab.h"
#include "command.h"
#include "gdbcmd.h"
#include "bfd.h"
#include "target.h"
#include "gdbcore.h"
#include "dis-asm.h"
#include <signal.h>
#include <sys/stat.h>
#include "completer.h"
#include "observable.h"
/* Local non-gdb includes. */
#include "bfd.h"
#include "cli/cli-utils.h"
#include "command.h"
#include "completer.h"
#include "dis-asm.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "inferior.h"
#include "observable.h"
#include "symtab.h"
#include "target.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

View File

@ -18,31 +18,35 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include <signal.h>
/* Standard C includes. */
#include <fcntl.h>
#include "frame.h" /* required by inferior.h */
#include "inferior.h"
#include "infrun.h"
#include "symtab.h"
#include "command.h"
#include <signal.h>
/* Local non-gdb includes. */
#include "arch-utils.h"
#include "bfd.h"
#include "target.h"
#include "process-stratum-target.h"
#include "command.h"
#include "common/filestuff.h"
#include "completer.h"
#include "exec.h"
#include "filenames.h"
#include "frame.h"
#include "gdb_bfd.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "inferior.h"
#include "infrun.h"
#include "objfiles.h"
#include "process-stratum-target.h"
#include "progspace.h"
#include "readline/readline.h"
#include "regcache.h"
#include "regset.h"
#include "symfile.h"
#include "exec.h"
#include "readline/readline.h"
#include "solib.h"
#include "filenames.h"
#include "progspace.h"
#include "objfiles.h"
#include "gdb_bfd.h"
#include "completer.h"
#include "common/filestuff.h"
#include "symfile.h"
#include "symtab.h"
#include "target.h"
#ifndef O_LARGEFILE
#define O_LARGEFILE 0

View File

@ -18,11 +18,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "value.h"
#include "cp-abi.h"
/* Local non-gdb includes. */
#include "command.h"
#include "cp-abi.h"
#include "gdbcmd.h"
#include "ui-out.h"
#include "value.h"
static struct cp_abi_ops *find_cp_abi (const char *short_name);
static struct cp_abi_ops current_cp_abi = { "", NULL };

View File

@ -19,20 +19,24 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
/* Standard C++ includes. */
#include <string>
/* Local non-gdb includes. */
#include "block.h"
#include "objfiles.h"
#include "gdbtypes.h"
#include "dictionary.h"
#include "command.h"
#include "frame.h"
#include "buildsym.h"
#include "command.h"
#include "cp-support.h"
#include "dictionary.h"
#include "frame.h"
#include "gdb_obstack.h"
#include "gdbtypes.h"
#include "language.h"
#include "namespace.h"
#include <string>
#include "objfiles.h"
#include "symfile.h"
#include "symtab.h"
static struct block_symbol
cp_lookup_nested_symbol_1 (struct type *container_type,

View File

@ -19,24 +19,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
/* Standard C includes. */
#include <signal.h>
/* Local non-gdb includes. */
#include "block.h"
#include "common/gdb_setjmp.h"
#include "common/selftest.h"
#include "complaints.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "demangle.h"
#include "gdbcmd.h"
#include "dictionary.h"
#include "objfiles.h"
#include "frame.h"
#include "symtab.h"
#include "block.h"
#include "complaints.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "cp-abi.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
#include "namespace.h"
#include <signal.h>
#include "common/gdb_setjmp.h"
#include "objfiles.h"
#include "safe-ctype.h"
#include "common/selftest.h"
#include "symtab.h"
#include "value.h"
#define d_left(dc) (dc)->u.s_binary.left
#define d_right(dc) (dc)->u.s_binary.right

View File

@ -18,24 +18,26 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "command.h"
#include "gdbcmd.h"
#include "demangle.h"
/* Local non-gdb includes. */
#include "annotate.h"
#include "c-lang.h"
#include "target.h"
#include "cp-abi.h"
#include "valprint.h"
#include "cp-support.h"
#include "language.h"
#include "extension.h"
#include "typeprint.h"
#include "command.h"
#include "common/byte-vector.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "demangle.h"
#include "expression.h"
#include "extension.h"
#include "gdb_obstack.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
#include "language.h"
#include "symtab.h"
#include "target.h"
#include "typeprint.h"
#include "valprint.h"
#include "value.h"
/* Controls printing of vtbl's. */
static void

Some files were not shown because too many files have changed in this diff Show More