From patchwork Wed Apr 20 14:06:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 11817 Received: (qmail 108652 invoked by alias); 20 Apr 2016 14:06:38 -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 108619 invoked by uid 89); 20 Apr 2016 14:06:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.66.141.144, HX-Received:sk:ro16mr1 X-HELO: mail-pa0-f46.google.com Received: from mail-pa0-f46.google.com (HELO mail-pa0-f46.google.com) (209.85.220.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 20 Apr 2016 14:06:27 +0000 Received: by mail-pa0-f46.google.com with SMTP id er2so18223680pad.3 for ; Wed, 20 Apr 2016 07:06:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=faJfKfZvL0FyNnwoKC8VzfiqJS5TbinUCQFIRuN6kjQ=; b=gP1fKZtwkuEdbLl4KlIigWh4vp5ShdOm7zxuDeqRS7Ml1JZJfGO3zinmwwTwSoHmTm JMNDD/2YaSNq3jwt5qFk5FEpT0/tmeaTZc5Oc5Z2rRzOrudCDkHE3z3YK61pr5286ssb V2iMtTEnU7Hv58Gl51m23GwBMDuNHf1tO7S5ly/f4Bou7HytIwgcY8QuurU1ljf9P61g vSBPRrIk/GqAO+z2R0mCxlnsXQMzOVGQS8xddVBfCS08iuDr5/xJI4bUwU7ypA3faTbm wILoRpVe73ZBmaS8MuYTb82g9I6kISqpEU0KRci2jDBm7xJ8PvOWbco8au2710Gsdqw/ e0hg== X-Gm-Message-State: AOPr4FVXlBTgTb/eddrqOQ+7NSpPrXJ9uJUUExnnxD0rcmhxmAefBC/VbXUOLNUASAY5mg== X-Received: by 10.66.141.144 with SMTP id ro16mr12476455pab.137.1461161185541; Wed, 20 Apr 2016 07:06:25 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id t85sm13609948pfi.55.2016.04.20.07.06.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Apr 2016 07:06:24 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] Include arch/arm-linux.h in aarch32-linux-nat.c Date: Wed, 20 Apr 2016 15:06:06 +0100 Message-Id: <1461161166-715-1-git-send-email-yao.qi@linaro.org> In-Reply-To: <1461151574-31818-1-git-send-email-yao.qi@linaro.org> References: <1461151574-31818-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes Fix the compilation failure by including arch/arm-linux.h in aarch32-linux-nat.c. gdb: 2016-04-20 Yao Qi * aarch32-linux-nat.c: Include "arch/arm-linux.h". --- gdb/ChangeLog | 4 ++++ gdb/aarch32-linux-nat.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10d5d2c..b2660dd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2016-04-20 Yao Qi + * aarch32-linux-nat.c: Include "arch/arm-linux.h". + +2016-04-20 Yao Qi + * arm-linux-tdep.h (ARM_CPSR_GREGNUM): Move it to ... * arch/arm-linux.h: ... here. diff --git a/gdb/aarch32-linux-nat.c b/gdb/aarch32-linux-nat.c index 5d9babf..568dfa6 100644 --- a/gdb/aarch32-linux-nat.c +++ b/gdb/aarch32-linux-nat.c @@ -20,6 +20,7 @@ #include "regcache.h" #include "arm-tdep.h" #include "arm-linux-tdep.h" +#include "arch/arm-linux.h" #include "aarch32-linux-nat.h"