aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-09-19 20:34:23 -0600
committerTom Tromey <tom@tromey.com>2023-09-20 11:45:16 -0600
commitef0f16ccf8c3f09a3e986329c1428789ef17f17f (patch)
treeeeec07619180cc7c3ad56e555fdf914d9b863595 /gdb/cli
parent0b7de6d3ee07653e97e65a2968742c93b7102f62 (diff)
downloadbinutils-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.zip
binutils-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.tar.gz
binutils-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.tar.bz2
Remove explanatory comments from includes
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>
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c10
-rw-r--r--gdb/cli/cli-interp.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index b801e21..8cadd63 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -21,17 +21,17 @@
#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>
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c
index 6a175f7..829948b 100644
--- a/gdb/cli/cli-interp.c
+++ b/gdb/cli/cli-interp.c
@@ -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"