aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 09:22:59 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 11:26:14 -0400
commite5dc0d5d04e68328242fc171098e78f79589c7b7 (patch)
tree9227cf1cd0a15019e9e1e0b6266a8be2c4f43a38 /gdb/stabsread.c
parent4111db1af3ac9be50a49ad69b255a6cd4198037b (diff)
downloadgdb-e5dc0d5d04e68328242fc171098e78f79589c7b7.zip
gdb-e5dc0d5d04e68328242fc171098e78f79589c7b7.tar.gz
gdb-e5dc0d5d04e68328242fc171098e78f79589c7b7.tar.bz2
gdb: move a bunch of quit-related things to event-top.{c,h}
Move some declarations related to the "quit" machinery from defs.h to event-top.h. Most of the definitions associated to these declarations are in event-top.c. The exceptions are `quit()` and `maybe_quit()`, that are defined in utils.c. For consistency, move these two definitions to event-top.c. Include "event-top.h" in many files that use these things. Change-Id: I6594f6df9047a9a480e7b9934275d186afb14378 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 85fe400..1158519 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -25,6 +25,7 @@
this file. */
#include "bfd.h"
+#include "event-top.h"
#include "gdbsupport/gdb_obstack.h"
#include "symtab.h"
#include "gdbtypes.h"