aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
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/mi
parent0b7de6d3ee07653e97e65a2968742c93b7102f62 (diff)
downloadgdb-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.zip
gdb-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.tar.gz
gdb-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/mi')
-rw-r--r--gdb/mi/mi-main.c2
-rw-r--r--gdb/mi/mi-parse.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 8ea0d35..4f18ef7 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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"
diff --git a/gdb/mi/mi-parse.h b/gdb/mi/mi-parse.h
index 4a41b30..3d3e730 100644
--- a/gdb/mi/mi-parse.h
+++ b/gdb/mi/mi-parse.h
@@ -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 */