diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-28 14:27:11 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-01 15:40:54 -0400 |
commit | 13d03262f25bfbf15e4a5f1d867cca243c7ee3ca (patch) | |
tree | 882bd6ca945e1ab7f1bc31f64b2b425b382a9271 /gdb/cli | |
parent | 7d3b43a15bd4267b5782ca40c0bb1dec1fa3f476 (diff) | |
download | fsf-binutils-gdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.zip fsf-binutils-gdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.tar.gz fsf-binutils-gdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.tar.bz2 |
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
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-interp.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-script.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 3b1c6a9..d466cc6 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -45,6 +45,7 @@ #include "interps.h" #include "top.h" +#include "ui.h" #include "cli/cli-decode.h" #include "cli/cli-script.h" #include "cli/cli-setshow.h" diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 5a515c6..84fe34a 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -24,6 +24,7 @@ #include "ui-out.h" #include "cli-out.h" #include "top.h" /* for "execute_command" */ +#include "ui.h" #include "infrun.h" #include "observable.h" #include "gdbthread.h" diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index b96dd74..8ec5689 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -23,6 +23,7 @@ #include "ui-out.h" #include "top.h" +#include "ui.h" #include "breakpoint.h" #include "tracepoint.h" #include "cli/cli-cmds.h" |