aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-main.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-06-17 09:38:20 -0600
committerTom Tromey <tromey@adacore.com>2022-06-22 13:28:55 -0600
commitee04bfc01e51faae3fb64f6582f0e207d3ad898d (patch)
tree6b422bd277877fc67673b9cdbe97020c590c6ab4 /gdb/mi/mi-main.c
parent3af607d998587de460b9e29996b1d43fa40a76b0 (diff)
downloadgdb-ee04bfc01e51faae3fb64f6582f0e207d3ad898d.zip
gdb-ee04bfc01e51faae3fb64f6582f0e207d3ad898d.tar.gz
gdb-ee04bfc01e51faae3fb64f6582f0e207d3ad898d.tar.bz2
Move mi_interpreter to mi-interp.h
I noticed that touching interps.h caused a lot of recompilation. I tracked this down to mi-common.h including this file. This patch moves the MI interpreter to mi-interp.h, which cuts down on recompilation when modifying interps.h.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 18707bf..68868e4 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -40,7 +40,7 @@
#include "regcache.h"
#include "frame.h"
#include "mi-main.h"
-#include "mi-common.h"
+#include "mi-interp.h"
#include "language.h"
#include "valprint.h"
#include "osdata.h"