along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "bfd.h" /* Binary File Description */
+#include "bfd.h"
#include "gdbtypes.h"
#include "value.h"
#include "c-lang.h"
#include "arch-utils.h"
#include "gdbcmd.h"
-#include "inferior.h" /* enum CALL_DUMMY_LOCATION et al. */
+#include "inferior.h"
#include "infrun.h"
#include "regcache.h"
#include "sim-regno.h"
#include "defs.h"
-#include <ctype.h> /* XXX for isupper (). */
+#include <ctype.h>
#include "frame.h"
#include "language.h"
#include "infrun.h"
#include "gdbcmd.h"
#include "gdbcore.h"
-#include "dis-asm.h" /* For register styles. */
+#include "dis-asm.h"
#include "disasm.h"
#include "regcache.h"
#include "reggroups.h"
#ifndef AX_GDB_H
#define AX_GDB_H
-#include "ax.h" /* For agent_expr_up. */
+#include "ax.h"
struct expression;
#include "process-stratum-target.h"
#include "value.h"
#include "gdbcore.h"
-#include "inferior.h" /* for get_exec_file */
+#include "inferior.h"
#include "gdbthread.h"
#include "gdbsupport/pathstuff.h"
#include "gdbsupport/gdb_tilde_expand.h"
list of sequential control-flow blocks, one such list per thread. */
#include "gdbsupport/btrace-common.h"
-#include "target/waitstatus.h" /* For enum target_stop_reason. */
+#include "target/waitstatus.h"
#include "gdbsupport/enum-flags.h"
#if defined (HAVE_LIBIPT)
#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 "expression.h"
+#include "filenames.h"
#include "macrotab.h"
-#include "demangle.h" /* Needed by SYMBOL_INIT_DEMANGLED_NAME. */
+#include "demangle.h"
#include "block.h"
#include "cp-support.h"
#include "dictionary.h"
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
-#include "bfd.h" /* Binary File Description. */
+#include "bfd.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "arch-utils.h"
#include "readline/tilde.h"
#include "completer.h"
-#include "target.h" /* For baud_rate, remote_debug and remote_timeout. */
-#include "gdbsupport/gdb_wait.h" /* For shell escape implementation. */
+#include "target.h"
+#include "gdbsupport/gdb_wait.h"
#include "gdbcmd.h"
-#include "gdbsupport/gdb_regex.h" /* Used by apropos_command. */
+#include "gdbsupport/gdb_regex.h"
#include "gdb_vfork.h"
#include "linespec.h"
#include "expression.h"
#include "frame.h"
#include "value.h"
#include "language.h"
-#include "filenames.h" /* For DOSish file names. */
+#include "filenames.h"
#include "objfiles.h"
#include "source.h"
#include "disasm.h"
#include "gdbsupport/gdb_tilde_expand.h"
#ifdef TUI
-#include "tui/tui.h" /* For tui_active et.al. */
+#include "tui/tui.h"
#endif
#include <fcntl.h>
#include "event-top.h"
#include "ui-out.h"
#include "cli-out.h"
-#include "top.h" /* for "execute_command" */
+#include "top.h"
#include "ui.h"
#include "infrun.h"
#include "observable.h"
#include "gdbsupport/gdb_obstack.h"
#include <ctype.h>
-#include "coff/internal.h" /* Internal format of COFF symbols in BFD */
-#include "libcoff.h" /* FIXME secret internal data from BFD */
+#include "coff/internal.h"
+#include "libcoff.h"
#include "objfiles.h"
#include "buildsym-legacy.h"
#include "stabsread.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
-#include "filenames.h" /* For DOSish file names. */
+#include "filenames.h"
#include "language.h"
#include "gdbsupport/gdb_signals.h"
#include "target.h"
#include "arch-utils.h"
#include <signal.h>
#include <fcntl.h>
-#include "frame.h" /* required by inferior.h */
+#include "frame.h"
#include "inferior.h"
#include "infrun.h"
#include "symtab.h"
#ifndef CP_SUPPORT_H
#define CP_SUPPORT_H
-/* We need this for 'domain_enum', alas... */
-
#include "symtab.h"
#include "gdbsupport/gdb_vecs.h"
#include "gdbsupport/gdb_obstack.h"
#include "objfiles.h"
-#include "solib.h" /* Support for shared libraries. */
+#include "solib.h"
#include "solib-svr4.h"
#include "dis-asm.h"
#include "symtab.h"
#include "breakpoint.h"
#include "target.h"
-#include "gdbcore.h" /* for bfd stuff */
-#include "libaout.h" /* FIXME Secret internal BFD stuff for a.out */
+#include "gdbcore.h"
+#include "libaout.h"
#include "filenames.h"
#include "objfiles.h"
#include "buildsym-legacy.h"
#include "psymtab.h"
#include "block.h"
#include "aout/aout64.h"
-#include "aout/stab_gnu.h" /* We always use GNU stabs, not
- native, now. */
+#include "aout/stab_gnu.h"
\f
/* Key for dbx-associated data. */
#ifndef DCACHE_H
#define DCACHE_H
-#include "target.h" /* for enum target_xfer_status */
+#include "target.h"
typedef struct dcache_struct DCACHE;
#include "dwarf2.h"
#include "demangle.h"
#include "gdb-demangle.h"
-#include "filenames.h" /* for DOSish file names */
+#include "filenames.h"
#include "language.h"
#include "complaints.h"
#include "dwarf2/expr.h"
#include "c-lang.h"
#include "go-lang.h"
#include "valprint.h"
-#include "gdbcore.h" /* for gnutarget */
+#include "gdbcore.h"
#include "gdb/gdb-index.h"
#include "gdb_bfd.h"
#include "f-lang.h"
#include "defs.h"
#include "elf-none-tdep.h"
#include "regset.h"
-#include "elf-bfd.h" /* for elfcore_write_* */
+#include "elf-bfd.h"
#include "inferior.h"
#include "regcache.h"
#include "gdbarch.h"
#include "target.h"
#include "frame.h"
#include "gdbthread.h"
-#include "language.h" /* For CAST_IS_CONVERSION. */
+#include "language.h"
#include "cp-abi.h"
#include "infcall.h"
#include "objc-lang.h"
#include "event-top.h"
#include "interps.h"
#include <signal.h>
-#include "cli/cli-script.h" /* for reset_command_nest_depth */
+#include "cli/cli-script.h"
#include "main.h"
#include "gdbthread.h"
#include "observable.h"
-#include "gdbcmd.h" /* for dont_repeat() */
+#include "gdbcmd.h"
#include "annotate.h"
#include "maint.h"
#include "ser-event.h"
#include "value.h"
#include "language.h"
#include "parser-defs.h"
-#include "user-regs.h" /* For user_reg_map_regnum_to_name. */
+#include "user-regs.h"
#include "target.h"
#include "block.h"
#include "objfiles.h"
#ifndef EXTENSION_H
#define EXTENSION_H
-#include "mi/mi-cmds.h" /* For PRINT_NO_VALUES, etc. */
+#include "mi/mi-cmds.h"
#include "gdbsupport/array-view.h"
#include "gdbsupport/gdb_optional.h"
#include "gdbcore.h"
#include "inferior.h"
#include "target.h"
-#include "symfile.h" /* for overlay functions */
+#include "symfile.h"
#include "regcache.h"
#include "user-regs.h"
#include "block.h"
struct regcache;
struct value;
-#include "frame.h" /* For enum frame_type. */
+#include "frame.h"
/* The following unwind functions assume a chain of frames forming the
sequence: (outer) prev <-> this <-> next (inner). All the
#include "frame.h"
#include "target.h"
#include "value.h"
-#include "inferior.h" /* for inferior_ptid */
+#include "inferior.h"
#include "regcache.h"
#include "user-regs.h"
#include "gdbsupport/gdb_obstack.h"
/* Make cgen names unique to prevent ODR conflicts with other targets. */
#define GDB_CGEN_REMAP_PREFIX frv
#include "cgen-remap.h"
-#include "opcodes/frv-desc.h" /* for the H_SPR_... enums */
+#include "opcodes/frv-desc.h"
struct frv_unwind_cache /* was struct frame_extra_info */
{
to a styles of demangling, and GDB specific. */
#include "defs.h"
-#include "cli/cli-utils.h" /* for skip_to_space */
+#include "cli/cli-utils.h"
#include "command.h"
#include "gdbcmd.h"
#include "demangle.h"
#include "symtab.h"
#include "libguile.h"
#include "objfiles.h"
-#include "top.h" /* For quit_force(). */
+#include "top.h"
struct block;
struct frame_info;
#include "disasm.h"
#include "dis-asm.h"
#include "gdbarch.h"
-#include "gdbcore.h" /* Why is memory_error here? */
+#include "gdbcore.h"
#include "guile-internal.h"
static SCM port_keyword;
#include "charset.h"
#include "cp-abi.h"
#include "target-float.h"
-#include "symtab.h" /* Needed by language.h. */
+#include "symtab.h"
#include "language.h"
#include "valprint.h"
#include "value.h"
conventions, et.al. */
#include "defs.h"
-#include "top.h" /* For quit_force(). */
+#include "top.h"
#include "charset.h"
-#include "symtab.h" /* Needed by language.h. */
+#include "symtab.h"
#include "language.h"
#include "objfiles.h"
#include "value.h"
conventions, et.al. */
#include "defs.h"
-#include "top.h" /* For quit_force(). */
+#include "top.h"
#include "arch-utils.h"
#include "value.h"
#include "gdbtypes.h"
conventions, et.al. */
#include "defs.h"
-#include "top.h" /* For quit_force(). */
+#include "top.h"
#include "arch-utils.h"
#include "charset.h"
#include "cp-abi.h"
#include "target-float.h"
#include "infcall.h"
-#include "symtab.h" /* Needed by language.h. */
+#include "symtab.h"
#include "language.h"
#include "valprint.h"
#include "value.h"
#include "target-float.h"
#include "value.h"
#include "objfiles.h"
-#include "elf/common.h" /* for DT_PLTGOT value */
+#include "elf/common.h"
#include "elf-bfd.h"
#include "dis-asm.h"
#include "infcall.h"
#include "cp-abi.h"
#ifdef HAVE_LIBUNWIND_IA64_H
-#include "elf/ia64.h" /* for PT_IA_64_UNWIND value */
+#include "elf/ia64.h"
#include "ia64-libunwind-tdep.h"
/* Note: KERNEL_START is supposed to be an address which is not going
#ifndef INF_LOOP_H
#define INF_LOOP_H
-#include "target.h" /* For enum inferior_event_type. */
+#include "target.h"
extern void inferior_event_handler (enum inferior_event_type event_type);
#include "inf-child.h"
#include "inf-ptrace.h"
#include "auxv.h"
-#include <sys/procfs.h> /* for elf_gregset etc. */
-#include "elf-bfd.h" /* for elfcore_write_* */
-#include "gregset.h" /* for gregset */
-#include "gdbcore.h" /* for get_exec_file */
-#include <ctype.h> /* for isdigit */
-#include <sys/stat.h> /* for struct stat */
-#include <fcntl.h> /* for O_RDONLY */
+#include <sys/procfs.h>
+#include "elf-bfd.h"
+#include "gregset.h"
+#include "gdbcore.h"
+#include <ctype.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include "inf-loop.h"
#include "gdbsupport/event-loop.h"
#include "event-top.h"
#include "regcache.h"
#include "regset.h"
#include "elf/common.h"
-#include "elf-bfd.h" /* for elfcore_write_* */
+#include "elf-bfd.h"
#include "inferior.h"
#include "cli/cli-utils.h"
#include "arch-utils.h"
#include "defs.h"
#include "language.h"
#include "gdbsupport/gdb_obstack.h"
-#include "bfd.h" /* Binary File Description */
+#include "bfd.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "gdbtypes.h"
#include "demangle.h"
#include "gdbcore.h"
-#include "expression.h" /* For language.h */
+#include "expression.h"
#include "language.h"
#include "symfile.h"
#include "objfiles.h"
#include "bfd.h"
-#include "coff/ecoff.h" /* COFF-like aspects of ecoff files. */
+#include "coff/ecoff.h"
-#include "libaout.h" /* Private BFD a.out information. */
+#include "libaout.h"
#include "aout/aout64.h"
-#include "aout/stab_gnu.h" /* STABS information. */
+#include "aout/stab_gnu.h"
#include "expression.h"
#ifndef MDEBUGREAD_H
#define MDEBUGREAD_H
-#include "coff/sym.h" /* Needed for PDR below. */
+#include "coff/sym.h"
#include "coff/symconst.h"
/* Specific information about a procedure. Architectures (ab)uses
#include "interps.h"
#include "gdbsupport/event-loop.h"
#include "event-top.h"
-#include "gdbcore.h" /* For write_memory(). */
+#include "gdbcore.h"
#include "value.h"
#include "regcache.h"
#include "frame.h"
#include "gdbsupport/run-time-clock.h"
#include <chrono>
-#include "mi-cmds.h" /* For enum print_values. */
+#include "mi-cmds.h"
/* MI parser */
#include "coff/sym.h"
#include "coff/internal.h"
#include "coff/ecoff.h"
-#include "libcoff.h" /* Private BFD COFF information. */
-#include "libecoff.h" /* Private BFD ECOFF information. */
+#include "libcoff.h"
+#include "libecoff.h"
#include "elf/common.h"
#include "elf/internal.h"
#include "elf/mips.h"
#include "dis-asm.h"
#include "gdbtypes.h"
#include "regcache.h"
-#include "gdbcore.h" /* For write_memory_unsigned_integer. */
+#include "gdbcore.h"
#include "value.h"
#include "frame.h"
#include "frame-unwind.h"
#ifndef NAT_AARCH64_LINUX_HW_POINT_H
#define NAT_AARCH64_LINUX_HW_POINT_H
-#include "gdbsupport/break-common.h" /* For enum target_hw_bp_type. */
+#include "gdbsupport/break-common.h"
#include "nat/aarch64-hw-point.h"
#ifndef NAT_AMD64_LINUX_SIGINFO_H
#define NAT_AMD64_LINUX_SIGINFO_H
-#include <signal.h> /* For siginfo_t. */
+#include <signal.h>
/* When GDB is built as a 64-bit application on Linux, the
PTRACE_GETSIGINFO data is always presented in 64-bit layout. Since
(32 bytes on 64 bit hosts). */
-#include "gdbsupport/break-common.h" /* target_hw_bp_type */
+#include "gdbsupport/break-common.h"
/* Low-level function vector. */
destroying objfile structures. */
#include "defs.h"
-#include "bfd.h" /* Binary File Description */
+#include "bfd.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#define OBJFILES_H
#include "hashtab.h"
-#include "gdbsupport/gdb_obstack.h" /* For obstack internals. */
+#include "gdbsupport/gdb_obstack.h"
#include "objfile-flags.h"
#include "symfile.h"
#include "progspace.h"
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
-#include "bfd.h" /* Binary File Description */
+#include "bfd.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "language.h"
#include "parser-defs.h"
#include "gdbcmd.h"
-#include "symfile.h" /* for overlay functions */
+#include "symfile.h"
#include "inferior.h"
#include "target-float.h"
#include "block.h"
#ifndef PPC_LINUX_TDEP_H
#define PPC_LINUX_TDEP_H
-#include "ppc-tdep.h" /* For PPC_NUM_REGS. */
+#include "ppc-tdep.h"
struct regset;
#include "gdb-demangle.h"
#include "valprint.h"
#include "annotate.h"
-#include "symfile.h" /* for overlay functions */
-#include "objfiles.h" /* ditto */
-#include "completer.h" /* for completion functions */
+#include "symfile.h"
+#include "objfiles.h"
+#include "completer.h"
#include "ui-out.h"
#include "block.h"
#include "disasm.h"
#include <sys/types.h>
#include <sys/procfs.h>
-#include <sys/proc.h> /* for struct proc */
-#include <sys/user.h> /* for struct user */
-#include <fcntl.h> /* for O_RDWR etc. */
+#include <sys/proc.h>
+#include <sys/user.h>
+#include <fcntl.h>
#include "gdbsupport/gdb_wait.h"
#include "proc-utils.h"
#include "infrun.h"
#include "target.h"
#include "gdbcore.h"
-#include "elf-bfd.h" /* for elfcore_write_* */
+#include "elf-bfd.h"
#include "gdbcmd.h"
#include "gdbthread.h"
#include "regcache.h"
interface. */
#include <sys/types.h>
-#include <dirent.h> /* opendir/readdir, for listing the LWP's */
+#include <dirent.h>
-#include <fcntl.h> /* for O_RDONLY */
-#include <unistd.h> /* for "X_OK" */
-#include <sys/stat.h> /* for struct stat */
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/stat.h>
/* Note: procfs-utils.h must be included after the above system header
files, because it redefines various system calls using macros.
#include "defs.h"
-#include "top.h" /* For quit_force(). */
+#include "top.h"
#include "python-internal.h"
#include "breakpoint.h"
#include "frame.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "top.h" /* For force_quit (). */
+#include "top.h"
#include "block.h"
#include "frame.h"
#include "symtab.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "top.h" /* For quit_force (). */
+#include "top.h"
#include "charset.h"
#include "value.h"
#include "python-internal.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "top.h" /* For quit_force (). */
+#include "top.h"
#include "charset.h"
#include "value.h"
#include "language.h"
#ifndef RECORD_H
#define RECORD_H
-#include "target/waitstatus.h" /* For enum target_stop_reason. */
+#include "target/waitstatus.h"
#include "gdbsupport/enum-flags.h"
struct address_space;
#include "gdbtypes.h"
#include "regcache.h"
#include "command.h"
-#include "gdbcmd.h" /* For maintenanceprintlist. */
+#include "gdbcmd.h"
#include "gdbsupport/gdb_obstack.h"
/* See reggroups.h. */
#include <fcntl.h>
#include "gdbsupport/gdb_sys_time.h"
#ifdef __CYGWIN__
-#include <sys/cygwin.h> /* For cygwin_conv_path. */
+#include <sys/cygwin.h>
#endif
#include <signal.h>
#include "record-full.h"
#include "auxv.h"
-#include "coff/internal.h" /* for libcoff.h */
-#include "libcoff.h" /* for xcoff_data */
+#include "coff/internal.h"
+#include "libcoff.h"
#include "coff/xcoff.h"
#include "libxcoff.h"
#ifndef SER_BASE_H
#define SER_BASE_H
-#include "serial.h" /* For serial_ttystate. */
+#include "serial.h"
struct serial;
struct ui_file;
#include <sys/types.h>
#ifdef HAVE_SYS_FILIO_H
-#include <sys/filio.h> /* For FIONBIO. */
+#include <sys/filio.h>
#endif
#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h> /* For FIONBIO. */
+#include <sys/ioctl.h>
#endif
#include "gdbsupport/gdb_sys_time.h"
#include "arch-utils.h"
#include "linespec.h"
#include "objfiles.h"
-#include "breakpoint.h" /* for get_sal_arch () */
+#include "breakpoint.h"
#include "source.h"
#include "filenames.h"
#include "fnmatch.h"
#include "completer.h"
#include "elf/external.h"
#include "elf/common.h"
-#include "filenames.h" /* for DOSish file names */
+#include "filenames.h"
#include "exec.h"
#include "solist.h"
#include "observable.h"
#include "annotate.h"
#include "gdbtypes.h"
#include "linespec.h"
-#include "filenames.h" /* for DOSish file names */
+#include "filenames.h"
#include "completer.h"
#include "ui-out.h"
#include "readline/tilde.h"
#include "expression.h"
#include "symfile.h"
#include "objfiles.h"
-#include "aout/stab_gnu.h" /* We always use GNU stabs, not native. */
+#include "aout/stab_gnu.h"
#include "libaout.h"
#include "aout/aout64.h"
#include "gdb-stabs.h"
int gdb_m32r_vector = -1;
#if 0
-#include "syscall.h" /* for SYS_exit, SYS_write etc. */
+#include "syscall.h"
#endif
/* Global entry points:
#include "demangle.h"
#include "inferior.h"
#include "regcache.h"
-#include "filenames.h" /* for DOSish file names */
+#include "filenames.h"
#include "gdbsupport/gdb_obstack.h"
#include "completer.h"
#include "bcache.h"
#include "demangle.h"
#include "inferior.h"
#include "source.h"
-#include "filenames.h" /* for FILENAME_CMP */
+#include "filenames.h"
#include "objc-lang.h"
#include "d-lang.h"
#include "ada-lang.h"
#include "inferior.h"
#include <algorithm>
#include "completer.h"
-#include "readline/tilde.h" /* tilde_expand */
+#include "readline/tilde.h"
/* Types. */
make-target-delegates.py to parse. */
typedef const gdb_byte const_gdb_byte;
-#include "infrun.h" /* For enum exec_direction_kind. */
-#include "breakpoint.h" /* For enum bptype. */
+#include "infrun.h"
+#include "breakpoint.h"
#include "gdbsupport/scoped_restore.h"
#include "gdbsupport/refcounted-object.h"
#include "target-section.h"
#include "gdbsupport/fileio.h"
#include "gdbsupport/x86-xstate.h"
-#include "gdbsupport/break-common.h" /* For enum target_hw_bp_type. */
+#include "gdbsupport/break-common.h"
enum strata
{
#ifndef THREAD_FSM_H
#define THREAD_FSM_H
-#include "mi/mi-common.h" /* For enum async_reply_reason. */
+#include "mi/mi-common.h"
struct return_value_info;
struct thread_fsm_ops;
#include "tracefile.h"
#include "readline/tilde.h"
#include "gdbsupport/filestuff.h"
-#include "gdbsupport/rsp-low.h" /* bin2hex */
+#include "gdbsupport/rsp-low.h"
#include "regcache.h"
#include "inferior.h"
#include "gdbthread.h"
#ifndef TRAD_FRAME_H
#define TRAD_FRAME_H
-#include "frame.h" /* For "struct frame_id". */
+#include "frame.h"
class frame_info_ptr;
struct regcache_map_entry;
#ifndef TRAMP_FRAME_H
#define TRAMP_FRAME_H
-#include "frame.h" /* For "enum frame_type". */
+#include "frame.h"
class frame_info_ptr;
struct trad_frame_cache;
#define TUI_TUI_DATA_H
#include "tui/tui.h"
-#include "gdb_curses.h" /* For WINDOW. */
+#include "gdb_curses.h"
#include "observable.h"
/* A deleter that calls delwin. */
#include "tui/tui.h"
#include "tui/tui.h"
-#include "gdb_curses.h" /* For WINDOW. */
+#include "gdb_curses.h"
#include "observable.h"
/* Class used to track the current location that the TUI is displaying. An
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
-#include "bfd.h" /* Binary File Description */
+#include "bfd.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "expression.h" /* For language.h */
+#include "expression.h"
#include "language.h"
#include "ui-out.h"
#include "gdbsupport/format.h"
#include "main.h"
#include "solist.h"
-#include "inferior.h" /* for signed_pointer_to_address */
+#include "inferior.h"
#include "gdb_curses.h"
#if !defined (VALUE_H)
#define VALUE_H 1
-#include "frame.h" /* For struct frame_id. */
+#include "frame.h"
#include "extension.h"
#include "gdbsupport/gdb_ref_ptr.h"
#include "gmp-utils.h"
/* Originally by Steve Chamberlain, sac@cygnus.com */
#include "defs.h"
-#include "frame.h" /* required by inferior.h */
+#include "frame.h"
#include "inferior.h"
#include "infrun.h"
#include "target.h"
#ifndef X86_LINUX_NAT_H
#define X86_LINUX_NAT_H 1
-#include "gdb_proc_service.h" /* For ps_err_e. */
+#include "gdb_proc_service.h"
#include "linux-nat.h"
#include "gdbsupport/x86-xstate.h"
#include "x86-nat.h"
#include <algorithm>
#include "coff/internal.h"
-#include "libcoff.h" /* FIXME, internal data from BFD */
+#include "libcoff.h"
#include "coff/xcoff.h"
#include "libxcoff.h"
#include "coff/rs6000.h"
/* Included for ptrace type definitions. */
#include "nat/linux-ptrace.h"
-#include "target/waitstatus.h" /* For enum target_stop_reason. */
+#include "target/waitstatus.h"
#include "tracepoint.h"
#include <list>
#ifndef GDBSERVER_TARGET_H
#define GDBSERVER_TARGET_H
-#include <sys/types.h> /* for mode_t */
+#include <sys/types.h>
#include "target/target.h"
#include "target/resume.h"
#include "target/wait.h"
#include <stdint.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
-#include <strings.h> /* for strcasecmp and strncasecmp */
+#include <strings.h>
#endif
#include <errno.h>
#if HAVE_ALLOCA_H
#define COMMON_GDB_WAIT_H
#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h> /* POSIX */
+#include <sys/wait.h>
#else
#ifdef HAVE_WAIT_H
-#include <wait.h> /* legacy */
+#include <wait.h>
#endif
#endif