aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
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/guile
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/guile')
-rw-r--r--gdb/guile/guile-internal.h2
-rw-r--r--gdb/guile/scm-disasm.c2
-rw-r--r--gdb/guile/scm-math.c2
-rw-r--r--gdb/guile/scm-pretty-print.c4
-rw-r--r--gdb/guile/scm-type.c2
-rw-r--r--gdb/guile/scm-value.c4
6 files changed, 8 insertions, 8 deletions
diff --git a/gdb/guile/guile-internal.h b/gdb/guile/guile-internal.h
index b04ef17..c0f1410 100644
--- a/gdb/guile/guile-internal.h
+++ b/gdb/guile/guile-internal.h
@@ -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;
diff --git a/gdb/guile/scm-disasm.c b/gdb/guile/scm-disasm.c
index 58ccb4f..9169b4a 100644
--- a/gdb/guile/scm-disasm.c
+++ b/gdb/guile/scm-disasm.c
@@ -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;
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index 32595cf..809bff1 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -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"
diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c
index ae56758..2870e14 100644
--- a/gdb/guile/scm-pretty-print.c
+++ b/gdb/guile/scm-pretty-print.c
@@ -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"
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c
index 3b0a275..8502cb6 100644
--- a/gdb/guile/scm-type.c
+++ b/gdb/guile/scm-type.c
@@ -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"
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c
index 6f325db..e58e132 100644
--- a/gdb/guile/scm-value.c
+++ b/gdb/guile/scm-value.c
@@ -21,13 +21,13 @@
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"