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/python/py-finishbreakpoint.c | 2 +- gdb/python/py-symbol.c | 2 +- gdb/python/py-utils.c | 2 +- gdb/python/py-value.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/python') diff --git a/gdb/python/py-finishbreakpoint.c b/gdb/python/py-finishbreakpoint.c index fa2139b..42a7e07 100644 --- a/gdb/python/py-finishbreakpoint.c +++ b/gdb/python/py-finishbreakpoint.c @@ -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" diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 43a20c7..99724cf 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -18,7 +18,7 @@ along with this program. If not, see . */ #include "defs.h" -#include "top.h" /* For force_quit (). */ +#include "top.h" #include "block.h" #include "frame.h" #include "symtab.h" diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index d5b07a8..1552084 100644 --- a/gdb/python/py-utils.c +++ b/gdb/python/py-utils.c @@ -18,7 +18,7 @@ along with this program. If not, see . */ #include "defs.h" -#include "top.h" /* For quit_force (). */ +#include "top.h" #include "charset.h" #include "value.h" #include "python-internal.h" diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index ee492fd..245de68 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -18,7 +18,7 @@ along with this program. If not, see . */ #include "defs.h" -#include "top.h" /* For quit_force (). */ +#include "top.h" #include "charset.h" #include "value.h" #include "language.h" -- cgit v1.1