From ef0f16ccf8c3f09a3e986329c1428789ef17f17f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 19 Sep 2023 20:34:23 -0600 Subject: 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 --- gdb/cli/cli-cmds.c | 10 +++++----- gdb/cli/cli-interp.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/cli') 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 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" -- cgit v1.1