Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH OBV 05/10] Include mi-cmds.h in mi-parse.h
Date: Fri, 06 Jan 2017 14:19:00 -0000	[thread overview]
Message-ID: <1483712340-9157-5-git-send-email-yao.qi@linaro.org> (raw)
In-Reply-To: <1483712340-9157-1-git-send-email-yao.qi@linaro.org>

$ 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.
---
 gdb/mi/mi-parse.h | 1 +
 1 file changed, 1 insertion(+)

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 */
 
-- 
1.9.1


  parent reply	other threads:[~2017-01-06 14:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 14:19 [PATCH 01/10] 'make check-headers' for c++ header Yao Qi
2017-01-06 14:19 ` [PATCH OBV 08/10] Include ppc-tdep.h in ppc-linux-tdep.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 06/10] Include break-common.h in nat/aarch64-linux-hw-point.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 10/10] Include gdb_proc_service.h in x86-linux-nat.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 09/10] Include serial.h in ser-base.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 07/10] Include signal.h in nat/amd64-linux-siginfo.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 04/10] Include target.h in inf-loop.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 03/10] Include doublest.h and expression.h in dfp.h Yao Qi
2017-01-06 14:19 ` [PATCH OBV 02/10] Include ax.h in ax-gdb.h Yao Qi
2017-01-06 14:19 ` Yao Qi [this message]
2017-01-13 14:41 ` [PATCH 01/10] 'make check-headers' for c++ header Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483712340-9157-5-git-send-email-yao.qi@linaro.org \
    --to=qiyaoltc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox