From patchwork Fri Jan 6 14:18:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 18799 Received: (qmail 74457 invoked by alias); 6 Jan 2017 14:19:18 -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 74257 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:08 +0000 Received: by mail-pg0-f68.google.com with SMTP id b1so44161568pgc.1 for ; Fri, 06 Jan 2017 06:19:08 -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=cAJFvEKHPALUzs3+eE24M9lvhBsVbz02tgPAcez8QX8=; b=kloghLXV/JvJilSOLs02O/tHax/D5ZPdd4zbyMrMfdUbA9vPlCRgvLiu6wQaxMT3b5 SI+IpKYL4nYu/MJRh2NK/ObWeTICB3ferb1ymhfVX1TYqO2Ta3Ty27upEB6UPmmZ4fVG /wQWs+DDM2d6uvBkzijG56sMMsbi39/NzPwtgNDC7ClzpUwbdG6PVcRDw/ytc2bAGs5s dbN2NV5WpvenTXmdQGp1eKZ+PmkoSbqcuZEeikQryrCMRvC2ICPxRNrX8MPI0ee4vXAP XWGgwFxmYrZ6NdcipByizgtwuepQTYABsOyo5FfBgTlHyBvk64Y1QMJwyu8mme2e993/ GFBg== X-Gm-Message-State: AIkVDXJklMcNW52j696ozNl+q1sIZ9v4iDMavrcuGbu3dicXyc+o5jQOigr9ZJoexXM6Cg== X-Received: by 10.99.174.4 with SMTP id q4mr139476525pgf.178.1483712346749; Fri, 06 Jan 2017 06:19:06 -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.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jan 2017 06:19:06 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV 03/10] Include doublest.h and expression.h in dfp.h Date: Fri, 6 Jan 2017 14:18:53 +0000 Message-Id: <1483712340-9157-3-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="dfp.h" ... ../../binutils-gdb/gdb/dfp.h:39:8: error: 'DOUBLEST' does not name a type extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len, ^ ../../binutils-gdb/gdb/dfp.h:41:33: error: use of enum 'exp_opcode' without previous declaration extern void decimal_binop (enum exp_opcode, ^ gdb: 2017-01-06 Yao Qi * dfp.h: Include "dboulest.h" and "expression.h". --- gdb/dfp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/dfp.h b/gdb/dfp.h index 9f37b8c..c8ff5a1 100644 --- a/gdb/dfp.h +++ b/gdb/dfp.h @@ -25,6 +25,9 @@ #ifndef DFP_H #define DFP_H +#include "doublest.h" /* For DOUBLEST. */ +#include "expression.h" /* For enum exp_opcode. */ + /* When using decimal128, this is the maximum string length + 1 * (value comes from libdecnumber's DECIMAL128_String constant). */ #define MAX_DECIMAL_STRING 43