Remove explanatory comments from includes
authorTom Tromey <tom@tromey.com>
Wed, 20 Sep 2023 02:34:23 +0000 (20:34 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Sep 2023 17:45:16 +0000 (11:45 -0600)
I noticed a comment by an include and remembered that I think these
don't really provide much value -- sometimes they are just editorial,
and sometimes they are obsolete.  I think it's better to just remove
them.  Tested by rebuilding.

Approved-By: Andrew Burgess <aburgess@redhat.com>
93 files changed:
gdb/ada-typeprint.c
gdb/arch-utils.c
gdb/arm-tdep.c
gdb/ax-gdb.h
gdb/bsd-kvm.c
gdb/btrace.h
gdb/buildsym.c
gdb/c-typeprint.c
gdb/cli/cli-cmds.c
gdb/cli/cli-interp.c
gdb/coffread.c
gdb/completer.c
gdb/corelow.c
gdb/cp-support.h
gdb/cris-tdep.c
gdb/dbxread.c
gdb/dcache.h
gdb/dwarf2/read.c
gdb/elf-none-tdep.c
gdb/eval.c
gdb/event-top.c
gdb/expprint.c
gdb/extension.h
gdb/findvar.c
gdb/frame-unwind.h
gdb/frame.c
gdb/frv-tdep.c
gdb/gdb-demangle.c
gdb/guile/guile-internal.h
gdb/guile/scm-disasm.c
gdb/guile/scm-math.c
gdb/guile/scm-pretty-print.c
gdb/guile/scm-type.c
gdb/guile/scm-value.c
gdb/ia64-tdep.c
gdb/inf-loop.h
gdb/linux-nat.c
gdb/linux-tdep.c
gdb/m2-typeprint.c
gdb/maint.c
gdb/mdebugread.c
gdb/mdebugread.h
gdb/mi/mi-main.c
gdb/mi/mi-parse.h
gdb/mipsread.c
gdb/mn10300-tdep.c
gdb/nat/aarch64-linux-hw-point.h
gdb/nat/amd64-linux-siginfo.h
gdb/nat/x86-dregs.h
gdb/objfiles.c
gdb/objfiles.h
gdb/p-typeprint.c
gdb/parse.c
gdb/ppc-linux-tdep.h
gdb/printcmd.c
gdb/proc-api.c
gdb/procfs.c
gdb/python/py-finishbreakpoint.c
gdb/python/py-symbol.c
gdb/python/py-utils.c
gdb/python/py-value.c
gdb/record.h
gdb/reggroups.c
gdb/remote-fileio.c
gdb/rs6000-tdep.c
gdb/ser-base.h
gdb/ser-tcp.c
gdb/skip.c
gdb/solib.c
gdb/source.c
gdb/stabsread.c
gdb/stubs/m32r-stub.c
gdb/symfile.c
gdb/symtab.c
gdb/target-descriptions.c
gdb/target.h
gdb/thread-fsm.h
gdb/tracefile-tfile.c
gdb/trad-frame.h
gdb/tramp-frame.h
gdb/tui/tui-data.h
gdb/tui/tui-location.h
gdb/typeprint.c
gdb/ui-out.c
gdb/utils.c
gdb/value.h
gdb/windows-nat.c
gdb/x86-linux-nat.h
gdb/xcoffread.c
gdbserver/linux-low.h
gdbserver/target.h
gdbsupport/common-defs.h
gdbsupport/gdb_wait.h

index 3b7faee8a613f35bb4e333b0fa7891824cf556c5..4af4968f113cb50b75f4438c7494b4ba961a9f92 100644 (file)
@@ -17,7 +17,7 @@
    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"
index ee34fc07d33aa80ed5dda125e7d6b3d59623e069..56c7fd2f5e734bd5f7229aa1ddd1d8444d9d7987 100644 (file)
@@ -21,7 +21,7 @@
 
 #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"
index fcdd304eef30ac64ee888ea8ccf424dbf5f5f79b..24952840e085a408f714da0ac3d8b418b55da478 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 
-#include <ctype.h>             /* XXX for isupper ().  */
+#include <ctype.h>
 
 #include "frame.h"
 #include "language.h"
@@ -27,7 +27,7 @@
 #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"
index 46584286c1fa32c64a4d87bac5ac3e663301ab13..4f73385208c6a13b1d5844f50c58fdddd52dbda6 100644 (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;
 
index 7fb51dcc7f260a1917e98e81c9a6dc3763d7c285..0ed95f6246c9f2239a155dd3667895b69abcee9f 100644 (file)
@@ -28,7 +28,7 @@
 #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"
index 0d53cb794e7600b140404e67ee728773e619e714..994af4c459b2658cedded8d5d59d33f53cdcd6f1 100644 (file)
@@ -27,7 +27,7 @@
    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)
index 03d6e03b6304b6b8410e88c8e9239f494de551ed..b982afea3d27e208218251052abcef03fd72a604 100644 (file)
 #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"
index e141a62311ca9dc3185ff88da97d53b2544f5b5c..e45098268c0ab2849c944062eb8c881d52ec9bfc 100644 (file)
@@ -18,7 +18,7 @@
 
 #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"
index b801e210d6e08a7a84758e5593d381c8722ba155..8cadd6371515ce7f9f808eb9cddbceb4050c576f 100644 (file)
 #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"
@@ -59,7 +59,7 @@
 #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>
index 6a175f7baa1393fda645dcd4da2e20418bfb7d61..829948b499382f879169ed4d3f31fdbe983aca0d 100644 (file)
@@ -23,7 +23,7 @@
 #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"
index fe905e739645080a436ef7405f8ea3e353c8d5e2..4a6a83b15adaa13bbafd8934385cf7f2a531f31e 100644 (file)
@@ -27,8 +27,8 @@
 #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"
index 91a29daee3685ea07de9a26254385f16e6fe74b7..2abf3998345d5220cc5a497c6cd35c4096db7baa 100644 (file)
@@ -20,7 +20,7 @@
 #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"
index 439270f5559ed0d3a55a5ffc2f237711edb40915..202fe695caebb55eddf1172374c5b66a70fc0f8a 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index 157f522cb2587b9f701413f6d908da99ba1f79b8..709dca46df16b47d6889b604cee974ff1544d368 100644 (file)
@@ -22,8 +22,6 @@
 #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"
index af8fb95a5d232ff16f17fd887f0d3ab7396e913e..9847516d9b8d7c47ff089a8eecdcdc7fbcf70e6c 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "objfiles.h"
 
-#include "solib.h"              /* Support for shared libraries.  */
+#include "solib.h"
 #include "solib-svr4.h"
 #include "dis-asm.h"
 
index 958b6db6615afe028ad52626f4ca571cc4089cfb..3afafa77fb49fa929474f962170717fb2ad75c5c 100644 (file)
@@ -37,8 +37,8 @@
 #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"
@@ -52,8 +52,7 @@
 #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.  */
index 1bc42ac7840b6375b093f7763ae5edda46ff7d0d..32c13063bd200e3ac1f72547663ca325d41bb716 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef DCACHE_H
 #define DCACHE_H
 
-#include "target.h"    /* for enum target_xfer_status */
+#include "target.h"
 
 typedef struct dcache_struct DCACHE;
 
index 7fc017eae9ebb85a67750047b1573f91e50739f1..5bbc8e24cf96d4d7dda40b8486b6fd3d88301543 100644 (file)
@@ -54,7 +54,7 @@
 #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"
@@ -69,7 +69,7 @@
 #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"
index 460f02e7dbb31a104fd4c9cadd1bbf9e0abf69a4..ce2db02aa9d8dfea870bc44603b92a29bd9a6f0c 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index 794698f85bd19ca581969634618816ccf4eaa848..b859e825925b435e3ef79032055c7b0c7752ad2d 100644 (file)
@@ -25,7 +25,7 @@
 #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"
index d1be23bcbe9b27c1abaf399ee93b9b0562b817fb..3d6fa896a9cefcece63302e4c8120fac40b6b562 100644 (file)
 #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"
index b996c9faf8be93a87c025375e3b3e503ac984bd2..c5b42b7a08a7c6e410fded0c30f7e4baaa1e9e98 100644 (file)
@@ -24,7 +24,7 @@
 #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"
index 2b0445133d3a7e202354e4d8bbd43a5b682be77b..28f9e3bc0280369d519df0ed062f61adcfd75e19 100644 (file)
@@ -20,7 +20,7 @@
 #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"
 
index 1b7aa22888cb6a897ebe3478d9b2b81c05338df7..4e992ecdcc7361133e0bd90c6aefc336db48c453 100644 (file)
@@ -25,7 +25,7 @@
 #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"
index 94e055d9fab1a98f9d378083b69a320aa1378017..4a62906b57004d949a3e17f3f0063a7c58aa4926 100644 (file)
@@ -28,7 +28,7 @@ struct gdbarch;
 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
index f42cf1a37d18685e7c6ec19dde856732d0c83fc8..7077016ccba469c6eea4634ca51c66da66c9ac5a 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index 273a5bd7180366d77d9bc1bd855e24e1c8ce6aae..3656f6fcb663c0f3eb2f617cb693a30ed404e1ee 100644 (file)
@@ -42,7 +42,7 @@
 /* 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 */
   {
index 4bcdd981d97d5b0f647719228e6f68a529ca249e..b2053b8e021f8161d0254833fa7e9b57ca31b8a6 100644 (file)
@@ -24,7 +24,7 @@
    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"
index b04ef17a5ad61a7d6e3e8d10ea93a4a7bb134ff7..c0f1410ed7c4dca632cd088c1975ac74ab1ac171 100644 (file)
@@ -29,7 +29,7 @@
 #include "symtab.h"
 #include "libguile.h"
 #include "objfiles.h"
-#include "top.h"               /* For quit_force().  */
+#include "top.h"
 
 struct block;
 struct frame_info;
index 58ccb4f497e213d7f0cc7a4a57a3f0f67be7b8e9..9169b4a5c6d36bf1ed175cad84cba9ed166078f3 100644 (file)
@@ -25,7 +25,7 @@
 #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;
index 32595cf0a6876ee34ddc063693eb4887821d4923..809bff1ff8235ffb14590ddd88b9d77440aa2736 100644 (file)
@@ -25,7 +25,7 @@
 #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"
index ae56758b2bcdd2c6d8ed55a644ba1d672ca52636..2870e14e3b0c47f4a82d0221d3c8e1ce1e5b8e9f 100644 (file)
@@ -21,9 +21,9 @@
    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"
index 3b0a275241825a0edc320ee927247e5cdca39537..8502cb60a61527a5a8b5db406d866048af8963f2 100644 (file)
@@ -21,7 +21,7 @@
    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"
index 6f325db97ca2bf463b87eaa6a6bcae60380c2451..e58e132f76ab6a9e86d52527e3d737fa038e484a 100644 (file)
    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"
index 27da839e27df34b18b5329c7a7e1f714104c3b29..cdd5553cf5d3ef6c741aa2a51edaf77fd478e175 100644 (file)
@@ -31,7 +31,7 @@
 #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"
@@ -40,7 +40,7 @@
 #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
index c2f6d6c43de6ad4541672211dd7104fa9e920ea6..39713539bdc01a49b47ba0932c8ac3e0f63ca95c 100644 (file)
@@ -20,7 +20,7 @@
 #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);
 
index e58d67183b5237d61f301c636cd3f903f1d01ffa..7e36ced62921afaa236d81c6fdc8949660a032ba 100644 (file)
 #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"
index b5eee5e108cefd628eb1dd75d5e36adf2277ede5..22bb9686e8daddeb8aee1d7e3a46a4057a7da0c5 100644 (file)
@@ -27,7 +27,7 @@
 #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"
index 9a4cb8d6b558bd755e6f061730471f2042adbe9f..72f978205ab04c07edab82fe0af83bc5179408d6 100644 (file)
@@ -19,7 +19,7 @@
 #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"
index 5d52dfafd0652fefd8871ab82eae41f5717a833f..f91184c200561c1a44a6af2e2cc03b6b5cbd3627 100644 (file)
@@ -32,7 +32,7 @@
 #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"
index b515486835decfad404c95b0cfb7ffb3da572a83..cd6638224e74e2ccd7b888bb7f872b8baa17ab92 100644 (file)
 
 #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"
 
index f014692bd218c442aec165c0e852f3f54ebd0235..efb96f25b6522f57b4fadc679b62d58d974183e9 100644 (file)
@@ -20,7 +20,7 @@
 #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
index 8ea0d35f18a49be5939cd15b4302cd19a144e50f..4f18ef7db2545b829307c6f4918a8c25972d921f 100644 (file)
@@ -36,7 +36,7 @@
 #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"
index 4a41b305031ba4e969427ef589396f7ccefa61f6..3d3e7307b336ce7a0f0968975986efd6eb23804f 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "gdbsupport/run-time-clock.h"
 #include <chrono>
-#include "mi-cmds.h"  /* For enum print_values.  */
+#include "mi-cmds.h"
 
 /* MI parser */
 
index 447684154af6e45aee08d465738300ec21cfce0f..d8c12e054ba372cbd45e43efd1af0d8ce52bf2fe 100644 (file)
@@ -33,8 +33,8 @@
 #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"
index f52b6990a6074d59c8600eb18aa6a1ebb70c0697..84fbf415ea6055d8cf4a8923e134e233eee1c218 100644 (file)
@@ -22,7 +22,7 @@
 #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"
index 83a0a097f8bab2cd256899447c9be435dd545964..d155144c342580b852de8faf63da06e98b36ee95 100644 (file)
@@ -19,7 +19,7 @@
 #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"
 
index 498cb2ec2bc3a5aef80ef0c6f40282f71007f164..3f6299160fb01dcc12010066f596466aa914b9b9 100644 (file)
@@ -20,7 +20,7 @@
 #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
index 093a234bc205e542f105924cbef1009b25d8c7d9..21a23be3f89fd89f46319f0023f875a31dfcb893 100644 (file)
@@ -33,7 +33,7 @@
    (32 bytes on 64 bit hosts).  */
 
 
-#include "gdbsupport/break-common.h" /* target_hw_bp_type */
+#include "gdbsupport/break-common.h"
 
 /* Low-level function vector.  */
 
index 222fa89ca97f862c6c25b99e282e797110399713..8f085b1bb7c0577e67e264eb8a047e2bc51ed032 100644 (file)
@@ -23,7 +23,7 @@
    destroying objfile structures.  */
 
 #include "defs.h"
-#include "bfd.h"               /* Binary File Description */
+#include "bfd.h"
 #include "symtab.h"
 #include "symfile.h"
 #include "objfiles.h"
index b3b216f617787ae85278a78c9d4d009a081cabf6..4b8aa9bfcec1ace2dd9cacb7b9df1762247191a7 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index 54ff9661220283e04603b87924b79d7c19cc928a..41058a8b59e580a21cad8bf7779e9fb7760afb2e 100644 (file)
@@ -20,7 +20,7 @@
 
 #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"
index 221733a3f90cbff81734bb854b3b3719d4aa4269..c69b53addff026139e9a981f71d81bbd1e1affbc 100644 (file)
@@ -41,7 +41,7 @@
 #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"
index af70c7a4b1eb23ef95f78e3d6336201f21cf177f..39e60875d97d3eda67e889cc6ef30e07f1397f61 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef PPC_LINUX_TDEP_H
 #define PPC_LINUX_TDEP_H
 
-#include "ppc-tdep.h"  /* For PPC_NUM_REGS.  */
+#include "ppc-tdep.h"
 
 struct regset;
 
index 8d7d04231feb6e876e4a4c5713d72bc3ea04fda3..7e5f062caec35f4766eae91e574de9d3408a3ebc 100644 (file)
@@ -33,9 +33,9 @@
 #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"
index addda6dd6479d92e58e623fb59d4e4d727d076a0..8e567c7fec438a5afbd0a0a0c58f2bece1afc578 100644 (file)
@@ -30,9 +30,9 @@
 
 #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"
index d55a16a9fb53cafdafc2ef7a244772c0c47048c1..9443b074483cf2a8d3a2cee5553bedadc8b35f93 100644 (file)
@@ -25,7 +25,7 @@
 #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.
index fa2139ba5d2e4188a44e92a66f72f65240b8868f..42a7e0706d2a930973ca209c1e9082d0efce03d5 100644 (file)
@@ -20,7 +20,7 @@
 
 
 #include "defs.h"
-#include "top.h"               /* For quit_force().  */
+#include "top.h"
 #include "python-internal.h"
 #include "breakpoint.h"
 #include "frame.h"
index 43a20c7a366afd5a2cdc2b206aba01b6c4ce9e06..99724cfc95b8d972aa4819045a1b363c8283b21b 100644 (file)
@@ -18,7 +18,7 @@
    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"
index d5b07a80d8258197040c28c8aba866a938074f74..15520849f15c94f92e2dfda487d672f45266a0b4 100644 (file)
@@ -18,7 +18,7 @@
    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"
index ee492fd9af6d839db9b9b352ecd7153f68881283..245de68e0b9fb26c68ac5d8c9b93491c6a0de5f5 100644 (file)
@@ -18,7 +18,7 @@
    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"
index 166b5349988ef1f362e5dcfcf6bc1a03275795a5..c030847ea7084947785e4e7a9f5d7bca432f4933 100644 (file)
@@ -20,7 +20,7 @@
 #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;
index 744e7bde41b7ac495335f98d9e7b16e05c369042..fd300e85796d8e14a666b1ab9c06d594dd3b276a 100644 (file)
@@ -25,7 +25,7 @@
 #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.  */
index 69b409708a3d60335242b30011ce65b643c09236..10bc86c1ba53cbf9eb9b45183295479d819b0be4 100644 (file)
@@ -33,7 +33,7 @@
 #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>
 
index 71390513ad2aba98a06685504839744168a288ce..23397d037ae88f9d3c7c0aa1159be3de8f3c4cbd 100644 (file)
@@ -43,8 +43,8 @@
 #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"
 
index 4c6537f7adfa5c9074f6c9c6a1cb2cf062339d2e..27f9f3439775f8e644092dd414f78db54731c937 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef SER_BASE_H
 #define SER_BASE_H
 
-#include "serial.h"  /* For serial_ttystate.  */
+#include "serial.h"
 
 struct serial;
 struct ui_file;
index 6083bd61e626b63a332741357da740a08e24b446..0367a5ac65b53a9bf905f9915209250c5873f324 100644 (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"
index f3b1bec9e4cd8f8b3d041567dd71e7f6f0991c4f..28902a6d326f3c6585e1c9ba8945389cda4d0a84 100644 (file)
@@ -29,7 +29,7 @@
 #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"
index 4f980e9365c4ad4236bfed2fbf60f2740f8091b3..771954e51c8fbdf64ad2a7faccbbf1187e72640d 100644 (file)
@@ -38,7 +38,7 @@
 #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"
index 08adc6671b7b938c44a5c1b373f970e0ee6034c3..9c701e866a6e0b926a7a231f8de3810a75ddbe09 100644 (file)
@@ -37,7 +37,7 @@
 #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"
index 473c11f3a853ceb4b0149c38b53cda1c4dba2962..7402a26a401f6c059de1cfa020c84fd095893048 100644 (file)
@@ -32,7 +32,7 @@
 #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"
index 90754e3136424a69ab7abf85bba2565295378901..1f55f85e681232f54b50b9501bd5a1a751a71b22 100644 (file)
@@ -168,7 +168,7 @@ static volatile int mem_err = 0;
 int gdb_m32r_vector = -1;
 
 #if 0
-#include "syscall.h"           /* for SYS_exit, SYS_write etc. */
+#include "syscall.h"
 #endif
 
 /* Global entry points:
index 85a9c4e1da0e8f76c65655230d9a476ffec0e787..76b5e1b8fe7e8df825fe621e3789e77892342899 100644 (file)
@@ -38,7 +38,7 @@
 #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"
index c0c2454d967377ce65a5dc4f6d82ac430cb467f2..66d073e3b7b114c6ed38d4792eed47369da78d93 100644 (file)
@@ -34,7 +34,7 @@
 #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"
index cdedf88c793c7077b5be6a8b15040296bfc88590..9f6e8d2f1ac6933c0065dc74a553aee0bc01c3b3 100644 (file)
@@ -35,7 +35,7 @@
 #include "inferior.h"
 #include <algorithm>
 #include "completer.h"
-#include "readline/tilde.h" /* tilde_expand */
+#include "readline/tilde.h"
 
 /* Types.  */
 
index 6e6aa5f8fb383dc701ca379de115f24f5150b55d..936ae79219c0868835a1556d49070e58d41097ec 100644 (file)
@@ -43,8 +43,8 @@ struct inferior;
    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"
@@ -88,7 +88,7 @@ typedef const gdb_byte const_gdb_byte;
 #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
   {
index 3720c3098fa80fc3a9754dd4901abd8c5da73d82..26370904828983bc2de6d55150e330d29bf98602 100644 (file)
@@ -19,7 +19,7 @@
 #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;
index 815f13f984636c45504c1e2111f351e7a74d5ff6..478f2f0a13a40ba666adb93e121c6276720a1b50 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index d6f6e4dcf739fee220438ccb814b249cc2aadcae..9211436e001056ad32f61fca60f9f7c900ebdc2a 100644 (file)
@@ -20,7 +20,7 @@
 #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;
index fa0241acb2d68c1d56c4db87ab9b8159028dfe41..a8e4ab6dd48214f789a83485ce717520a9d58c5b 100644 (file)
@@ -20,7 +20,7 @@
 #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;
index d0e8d56fa074e77244e7f2568efccdd4040e319b..a1e44f77cc1b5b74639aa62d294f77b8a5ca76b5 100644 (file)
@@ -23,7 +23,7 @@
 #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.  */
index 8e1d5da1191737e26261cfe760015b352be2c8c8..514d2da5b8f0357e99e235444216414ddb4cdf1d 100644 (file)
@@ -20,7 +20,7 @@
 
 #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
index 259ff132142b31dd4742eaab34037d755e9c7f58..a1001a755ad5c5b2127729c135ba2a7f8e52b857 100644 (file)
@@ -19,7 +19,7 @@
 
 #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"
index b4b8e486cb83f722df149e7c2319cbb568974d8e..defa8f9dfa4a3bd09536953db50aad4e16b90c19 100644 (file)
@@ -21,7 +21,7 @@
    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"
index cacd6cbd23e664799b08abc6fd1038878d68d51f..2f545337cd4074df7a8a8caae409f3a4bba61971 100644 (file)
@@ -56,7 +56,7 @@
 #include "main.h"
 #include "solist.h"
 
-#include "inferior.h"          /* for signed_pointer_to_address */
+#include "inferior.h"
 
 #include "gdb_curses.h"
 
index 1d5a0018f9208ae5511413740a1eaa50109e8923..e4912717684b04e17afc7d7df0bf62b0ba1e1a26 100644 (file)
@@ -20,7 +20,7 @@
 #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"
index d8b33452f467e9b3d686e0719ac5f193f017b1d5..5a897dbfe761a31d8c7b2cba14d84b5695baa86c 100644 (file)
@@ -22,7 +22,7 @@
 /* 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"
index a99de6c29ea04da64e0fe880c84143fa69bc96c9..a0f8ffc993e4c8891024fad68082bbc335f227e2 100644 (file)
@@ -20,7 +20,7 @@
 #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"
index 427029dd44218c327eb8beed4b1c4a0c211d04ce..e6ecf2a6de57d83455307b0e028c54cc87b7185e 100644 (file)
@@ -31,7 +31,7 @@
 #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"
index 6dc93197f5c95f5fa8aab82521bac75056ddb689..f7cedf6706b0e5508c0f0cc24c0611de1608ddae 100644 (file)
@@ -28,7 +28,7 @@
 
 /* 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>
index d993e361b764cba666a92607fd6f0afcd674d5ea..f13ee40489f79d6f43aa6827ff1b97c1321ca01d 100644 (file)
@@ -21,7 +21,7 @@
 #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"
index 72c1c5144f3e15d9eaf3e0dc7924b27f7f6559b7..5e8ebab620cbdf2503dded5ee98c8c89055da2db 100644 (file)
@@ -96,7 +96,7 @@
 #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
index f8d44c98e1b0264515c1a2b28d289f8d731eb318..d1f9ccdd39b3b7322594269b49565d9e8dfa4194 100644 (file)
 #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