aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
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/python
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/python')
-rw-r--r--gdb/python/py-finishbreakpoint.c2
-rw-r--r--gdb/python/py-symbol.c2
-rw-r--r--gdb/python/py-utils.c2
-rw-r--r--gdb/python/py-value.c2
4 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. */
#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 <http://www.gnu.org/licenses/>. */
#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 <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "top.h" /* For quit_force (). */
+#include "top.h"
#include "charset.h"
#include "value.h"
#include "language.h"