From patchwork Fri Jan 6 14:18:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 18804 Received: (qmail 74784 invoked by alias); 6 Jan 2017 14:19:20 -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 74273 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.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=obv, H*f:sk:1483712, H*i:sk:1483712, H*MI:sk:1483712 X-HELO: mail-pg0-f68.google.com Received: from mail-pg0-f68.google.com (HELO mail-pg0-f68.google.com) (74.125.83.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jan 2017 14:19:11 +0000 Received: by mail-pg0-f68.google.com with SMTP id i5so44204289pgh.2 for ; Fri, 06 Jan 2017 06:19:11 -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=r4cLRhomrvbw1FiP6MOS1pBTd6u8LBe706sA6Gjs2HM=; b=ocEScMcVLHzxYjjLXworPKvd6VJvZbOIvMo70oXeSOB5TrQsKkEtZvsnR6fI1nLheV xfv1PFAUtsnFaAyX3/So9QaQqIBnVJpk0M0xzOQSTNh8PzaOsF2qDUDvfE64StYftafh 0QxrvpoLrJ+GnayYMtD29WMsy7LbIVHt8L6ZsucY6cps7+OAYIrjoeBsCHivKu3BouPA L5HnbtJqXhpSfnvIjUYGyfm150PL0YoaDqEUBP9YAyieLh4jAwvrXk6rKJSQirfjevue 13Wz8zKx5GSYov1oFnyXFK0xCQxYgnQpxkLifmgdrnTCm6DlkiveXaC4HEoixZmR4jeo LbZA== X-Gm-Message-State: AIkVDXJRIieItSS8MX9r9cnUFfy0ZKp5y89YBD2zYMhrnW2y7Kyeb/alQCVm/zq1pwkNnA== X-Received: by 10.99.127.16 with SMTP id a16mr141525592pgd.60.1483712350296; Fri, 06 Jan 2017 06:19:10 -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.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jan 2017 06:19:09 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV 06/10] Include break-common.h in nat/aarch64-linux-hw-point.h Date: Fri, 6 Jan 2017 14:18:56 +0000 Message-Id: <1483712340-9157-6-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="nat/aarch64-linux-hw-point.h" ... ../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.h:169:37: error: use of enum 'target_hw_bp_type' without previous declaration int aarch64_handle_breakpoint (enum target_hw_bp_type type, CORE_ADDR addr, ^ gdb: 2017-01-06 Yao Qi * nat/aarch64-linux-hw-point.h: Include break-common.h. --- gdb/nat/aarch64-linux-hw-point.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/nat/aarch64-linux-hw-point.h b/gdb/nat/aarch64-linux-hw-point.h index 4d115ba..610a5f1 100644 --- a/gdb/nat/aarch64-linux-hw-point.h +++ b/gdb/nat/aarch64-linux-hw-point.h @@ -19,6 +19,8 @@ #ifndef AARCH64_LINUX_HW_POINT_H #define AARCH64_LINUX_HW_POINT_H 1 +#include "break-common.h" /* For enum target_hw_bp_type. */ + /* Macro definitions, data structures, and code for the hardware breakpoint and hardware watchpoint support follow. We use the following abbreviations throughout the code: