gdb: move struct ui and related things to ui.{c,h}
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Apr 2023 18:27:11 +0000 (14:27 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 1 May 2023 19:40:54 +0000 (15:40 -0400)
commit13d03262f25bfbf15e4a5f1d867cca243c7ee3ca
tree882bd6ca945e1ab7f1bc31f64b2b425b382a9271
parent7d3b43a15bd4267b5782ca40c0bb1dec1fa3f476
gdb: move struct ui and related things to ui.{c,h}

I'd like to move some things so they become methods on struct ui.  But
first, I think that struct ui and the related things are big enough to
deserve their own file, instead of being scattered through top.{c,h} and
event-top.c.

Change-Id: I15594269ace61fd76ef80a7b58f51ff3ab6979bc
34 files changed:
gdb/Makefile.in
gdb/annotate.c
gdb/async-event.c
gdb/breakpoint.c
gdb/bt-utils.c
gdb/cli-out.c
gdb/cli/cli-cmds.c
gdb/cli/cli-interp.c
gdb/cli/cli-script.c
gdb/compile/compile.c
gdb/event-top.c
gdb/exceptions.c
gdb/fork-child.c
gdb/guile/guile.c
gdb/guile/scm-ports.c
gdb/inf-loop.c
gdb/infcall.c
gdb/infcmd.c
gdb/infrun.c
gdb/interps.c
gdb/main.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/python/py-dap.c
gdb/python/python.c
gdb/target.c
gdb/top.c
gdb/top.h
gdb/tui/tui-interp.c
gdb/tui/tui-io.c
gdb/tui/tui.c
gdb/ui.c [new file with mode: 0644]
gdb/ui.h [new file with mode: 0644]
gdb/utils.c