aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-01-06 14:33:00 +0000
committerYao Qi <yao.qi@linaro.org>2017-01-06 14:33:00 +0000
commit66c80d03078b71470c66b8f00cab82d89daeea08 (patch)
treee4c8d840e9666b7bdd1ecb5ac2255a7542a73e3c /gdb/mi
parent051d2ddae5a2289d1f253b563e57a8e8496a06bb (diff)
downloadgdb-66c80d03078b71470c66b8f00cab82d89daeea08.zip
gdb-66c80d03078b71470c66b8f00cab82d89daeea08.tar.gz
gdb-66c80d03078b71470c66b8f00cab82d89daeea08.tar.bz2
Include mi-cmds.h in mi-parse.h
$ make check-headers CHECK_HEADERS="mi/mi-parse.h" ... ../../binutils-gdb/gdb/mi/mi-parse.h:77:6: error: use of enum 'print_values' without previous declaration enum print_values mi_parse_print_values (const char *name); ^ gdb: 2017-01-06 Yao Qi <yao.qi@linaro.org> * mi/mi-parse.h: Include mi-cmds.h.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-parse.h b/gdb/mi/mi-parse.h
index 247fbb3..b11e5d3 100644
--- a/gdb/mi/mi-parse.h
+++ b/gdb/mi/mi-parse.h
@@ -22,6 +22,7 @@
#include "run-time-clock.h"
#include <chrono>
+#include "mi-cmds.h" /* For enum print_values. */
/* MI parser */