From 66c80d03078b71470c66b8f00cab82d89daeea08 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 6 Jan 2017 14:33:00 +0000 Subject: [PATCH] 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 * mi/mi-parse.h: Include mi-cmds.h. --- gdb/ChangeLog | 4 ++++ gdb/mi/mi-parse.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5a6a388d73..530f2e23017 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-01-06 Yao Qi + + * mi/mi-parse.h: Include mi-cmds.h. + 2017-01-06 Yao Qi * inf-loop.c: Don't include "target.h". diff --git a/gdb/mi/mi-parse.h b/gdb/mi/mi-parse.h index 247fbb327ad..b11e5d383fd 100644 --- a/gdb/mi/mi-parse.h +++ b/gdb/mi/mi-parse.h @@ -22,6 +22,7 @@ #include "run-time-clock.h" #include +#include "mi-cmds.h" /* For enum print_values. */ /* MI parser */ -- 2.30.2