From patchwork Fri Jan 6 14:18:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 18802 Received: (qmail 74675 invoked by alias); 6 Jan 2017 14:19:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 74268 invoked by uid 89); 6 Jan 2017 14:19:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=no version=3.3.2 spammy=obv, H*f:sk:1483712, H*i:sk:1483712, H*MI:sk:1483712 X-HELO: mail-pf0-f195.google.com Received: from mail-pf0-f195.google.com (HELO mail-pf0-f195.google.com) (209.85.192.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jan 2017 14:19:07 +0000 Received: by mail-pf0-f195.google.com with SMTP id y68so30054582pfb.1 for ; Fri, 06 Jan 2017 06:19:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=SNvIXQ3h3X5h1wrrYMR5g294fy8KseyqYq+RKrbl9yY=; b=OMSWu04rmHkm6ey4/DKlegbjE+whc43cuiTfdklH7/d70vX07iJpqk0pX9V7qxJr47 X2i2+H+Er8NXL/a7SpxC2VsmrZyDPQs5Hq91DAbqcswwzxpYi0FpttGTdZRvW30nkfal oI2dbUpAVP2BnlQtmr0U2F8qGwE5+3nZDddp8PIewYF0FkKVb7aHQWhBNC0UUXQf+GWw QWVH76BzZfgRvkNk0oMRKJVaadiuhVkZY5DyIYUfXKjNwv/ibORQya9nYFtoI/6ZWiGy 0ekLLwzfENssGXHirPTpvN4SERCQT8wT9k13FQuePqSqDSEQgeMG3zvOIFHk2Z0Tc7H/ ndCA== X-Gm-Message-State: AIkVDXI6jx9L9VbtFS/ui+SBtQpYhD14huldS3G+SB+fJYo+uzrhOvRtddYSQ3SjvhAMLA== X-Received: by 10.84.229.137 with SMTP id c9mr21954804plk.175.1483712345557; Fri, 06 Jan 2017 06:19:05 -0800 (PST) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id w11sm160505217pfk.75.2017.01.06.06.19.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jan 2017 06:19:05 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV 02/10] Include ax.h in ax-gdb.h Date: Fri, 6 Jan 2017 14:18:52 +0000 Message-Id: <1483712340-9157-2-git-send-email-yao.qi@linaro.org> In-Reply-To: <1483712340-9157-1-git-send-email-yao.qi@linaro.org> References: <1483712340-9157-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes $ make check-headers CHECK_HEADERS="ax-gdb.h" ... ../../binutils-gdb/gdb/ax-gdb.h:104:8: error: 'agent_expr_up' does not name a type extern agent_expr_up gen_trace_for_expr (CORE_ADDR, struct expression *, ^ gdb: 2017-01-06 Yao Qi * ax-gdb.h: Include "ax.h" --- gdb/ax-gdb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h index 5c74a0e..8b5ab46 100644 --- a/gdb/ax-gdb.h +++ b/gdb/ax-gdb.h @@ -19,6 +19,8 @@ #ifndef AX_GDB_H #define AX_GDB_H +#include "ax.h" /* For agent_expr_up. */ + struct expression; union exp_element;