$ 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.
+2017-01-06 Yao Qi <yao.qi@linaro.org>
+
+ * mi/mi-parse.h: Include mi-cmds.h.
+
2017-01-06 Yao Qi <yao.qi@linaro.org>
* inf-loop.c: Don't include "target.h".
#include "run-time-clock.h"
#include <chrono>
+#include "mi-cmds.h" /* For enum print_values. */
/* MI parser */