aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-28 14:27:11 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-01 15:40:54 -0400
commit13d03262f25bfbf15e4a5f1d867cca243c7ee3ca (patch)
tree882bd6ca945e1ab7f1bc31f64b2b425b382a9271 /gdb/guile
parent7d3b43a15bd4267b5782ca40c0bb1dec1fa3f476 (diff)
downloadgdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.zip
gdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.tar.gz
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/guile')
-rw-r--r--gdb/guile/guile.c1
-rw-r--r--gdb/guile/scm-ports.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/guile/guile.c b/gdb/guile/guile.c
index 887b7fa..b45081f 100644
--- a/gdb/guile/guile.c
+++ b/gdb/guile/guile.c
@@ -28,6 +28,7 @@
#include "command.h"
#include "gdbcmd.h"
#include "top.h"
+#include "ui.h"
#include "extension-priv.h"
#include "utils.h"
#include "gdbsupport/version.h"
diff --git a/gdb/guile/scm-ports.c b/gdb/guile/scm-ports.c
index 48b6075..a27ea8b 100644
--- a/gdb/guile/scm-ports.c
+++ b/gdb/guile/scm-ports.c
@@ -23,7 +23,7 @@
#include "defs.h"
#include "gdbsupport/gdb_select.h"
-#include "top.h"
+#include "ui.h"
#include "target.h"
#include "guile-internal.h"
#include "gdbsupport/gdb_optional.h"