From patchwork Fri Jan 6 14:18:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 18801 Received: (qmail 74601 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 74248 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*i:sk:1483712, H*MI:sk:1483712, H*f: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:14 +0000 Received: by mail-pf0-f195.google.com with SMTP id 127so20080253pfg.0 for ; Fri, 06 Jan 2017 06:19:14 -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=JqLIlJhIilsGu+t86ixSCuaU5dVVt3iOm2GkEJGwvo8=; b=N4qX3HuGqQKcvErzqDeBkFS+hmFGAwUOdakhJb3dPsrZ8SyqEXeak1RSMl7Os/9RRi BN1G/GqIQIN0ec5f1C3T6Ir0i3NsYZ6uGdnvI//FutB9bOOeeopRH+prG7kzQ68wPFIC tYN5wIui3hEke/3CWTfCOeI9Tz9+avP42Fbv9Q8TVf8RwOr4JcS8Zpu8YNrdyTnlxKjE 4dkcMDJXVzd6dlPN9QD4d9kq3caFl+P4lrkgtALvL+cb/5FYgE4R4lyU4OWMc6abCnWL qbPPjQev8dhmpBh7XJdw8nlUeVJQ6fRZeQcU1T+ZS+prn4J+SJZ3tFMY4454qmrHTycu e1Vg== X-Gm-Message-State: AIkVDXKtyheHNrZaM9IIyGUONQRXTw1cl9h6pDnI6UyS3kgBkp2Jw1zx/qJFF/HnsJzZ/Q== X-Received: by 10.84.142.1 with SMTP id 1mr164369014plw.87.1483712352642; Fri, 06 Jan 2017 06:19:12 -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.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jan 2017 06:19:12 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV 08/10] Include ppc-tdep.h in ppc-linux-tdep.h Date: Fri, 6 Jan 2017 14:18:58 +0000 Message-Id: <1483712340-9157-8-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="ppc-linux-tdep.h" ... ../../binutils-gdb/gdb/ppc-linux-tdep.h:34:24: error: 'PPC_NUM_REGS' was not declared in this scope PPC_ORIG_R3_REGNUM = PPC_NUM_REGS, ^ gdb: 2017-01-06 Yao Qi * ppc-linux-tdep.h: Include ppc-tdep.h. --- gdb/ppc-linux-tdep.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/ppc-linux-tdep.h b/gdb/ppc-linux-tdep.h index f60dba2..fa8a464 100644 --- a/gdb/ppc-linux-tdep.h +++ b/gdb/ppc-linux-tdep.h @@ -20,6 +20,8 @@ #ifndef PPC_LINUX_TDEP_H #define PPC_LINUX_TDEP_H +#include "ppc-tdep.h" /* For PPC_NUM_REGS. */ + struct regset; /* From ppc-linux-tdep.c ... */