]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/sparc64-tdep.c
gdb: move a bunch of quit-related things to event-top.{c,h}
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 13:22:59 +0000 (09:22 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 15:26:14 +0000 (11:26 -0400)
commite5dc0d5d04e68328242fc171098e78f79589c7b7
tree9227cf1cd0a15019e9e1e0b6266a8be2c4f43a38
parent4111db1af3ac9be50a49ad69b255a6cd4198037b
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>
51 files changed:
gdb/ada-lang.c
gdb/ada-typeprint.c
gdb/ada-valprint.c
gdb/addrmap.c
gdb/amd64-windows-tdep.c
gdb/breakpoint.c
gdb/c-typeprint.c
gdb/cli/cli-script.c
gdb/coffread.c
gdb/corefile.c
gdb/cp-valprint.c
gdb/dbxread.c
gdb/defs.h
gdb/disasm.c
gdb/dwarf2/cooked-index.c
gdb/dwarf2/expr.c
gdb/dwarf2/loc.c
gdb/dwarf2/read-gdb-index.c
gdb/dwarf2/read.c
gdb/event-top.c
gdb/event-top.h
gdb/f-typeprint.c
gdb/findvar.c
gdb/frame.c
gdb/gdb_bfd.c
gdb/linux-fork.c
gdb/m2-lang.c
gdb/m2-typeprint.c
gdb/mi/mi-cmd-stack.c
gdb/objc-lang.c
gdb/p-lang.c
gdb/p-typeprint.c
gdb/printcmd.c
gdb/psymtab.c
gdb/remote-fileio.c
gdb/remote-sim.c
gdb/rust-lang.c
gdb/ser-base.c
gdb/skip.c
gdb/solib-rocm.c
gdb/sparc64-tdep.c
gdb/stabsread.c
gdb/stack.c
gdb/symmisc.c
gdb/symtab.c
gdb/tracepoint.c
gdb/tui/tui.c
gdb/utils.c
gdb/valops.c
gdb/valprint.c
gdb/xcoffread.c