summaryrefslogtreecommitdiff
path: root/gdb/annotate.c
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/annotate.c
parent7d3b43a15bd4267b5782ca40c0bb1dec1fa3f476 (diff)
downloadbinutils-gdb-13d03262f25bfbf15e4a5f1d867cca243c7ee3ca.tar.gz
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/annotate.c')
-rw-r--r--gdb/annotate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 60fe6ccd5c2..d403a47ba2f 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -25,11 +25,10 @@
#include "observable.h"
#include "inferior.h"
#include "infrun.h"
-#include "top.h"
#include "source.h"
#include "objfiles.h"
#include "source-cache.h"
-
+#include "ui.h"
/* Prototypes for local functions. */