From patchwork Thu May 22 09:05:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 30573 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 22D6820369 for ; Thu, 22 May 2014 09:13:41 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id m20sf9855898qcx.9 for ; Thu, 22 May 2014 02:13:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-subscribe:list-archive:list-post:list-help :sender:delivered-to:message-id:date:from:user-agent:mime-version:to :cc:subject:x-original-sender:x-original-authentication-results :content-type; bh=oZaz1kAqq0dSo+bL8mt9scluMhDZbu08Q/wKSWKejVQ=; b=On5ZrqFF4YwEZbu7QdIKUUoNM2sqk++zmLXcJI+f4w1IWxXyWfnmieV822lii8y1nY DlKWMqJbKIxDKtnKc7UqILfmAi4LMDgulG6KW/B7MEPa9RXPZSWqhoTlsLLobeSnadOm aYYA+2Jc0sZ2A0xvskb8MLkSZ72PDHnG1DDfKguGE8VaA5rzQ6uZDtBcmubBoUymy95M 0UfVsOMIk7WjGEHcOAH1FnComSokWR0iHANVjiow0QKsPqh7RPQy8cs9Et8lk7bW2KKp PsP+cRzqQfesnjDWfC5dGRPnZhdfO6HICpo9I0twrAEz/xTCdECeHxf5idiMo7qfdS1z T4Ew== X-Gm-Message-State: ALoCoQly9w0v0tMiQKwtd7flM+mC19ccsPVqwIr2pPss7eygwbqNDhme/JxAGioBIohR9RVx33dH X-Received: by 10.58.69.78 with SMTP id c14mr6228670veu.41.1400750020977; Thu, 22 May 2014 02:13:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.52 with SMTP id n49ls1245534qge.29.gmail; Thu, 22 May 2014 02:13:40 -0700 (PDT) X-Received: by 10.58.188.115 with SMTP id fz19mr49578vec.40.1400750020852; Thu, 22 May 2014 02:13:40 -0700 (PDT) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id yz10si2788526vdb.80.2014.05.22.02.13.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 02:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22a as permitted sender) client-ip=2607:f8b0:400c:c01::22a; Received: by mail-ve0-f170.google.com with SMTP id db11so4049989veb.29 for ; Thu, 22 May 2014 02:13:40 -0700 (PDT) X-Received: by 10.220.163.3 with SMTP id y3mr14777354vcx.7.1400750020779; Thu, 22 May 2014 02:13:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp181611vcb; Thu, 22 May 2014 02:13:39 -0700 (PDT) X-Received: by 10.68.163.197 with SMTP id yk5mr65705672pbb.57.1400750019540; Thu, 22 May 2014 02:13:39 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id sm10si32725878pab.134.2014.05.22.02.13.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 May 2014 02:13:39 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-return-112694-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 19316 invoked by alias); 22 May 2014 09:07:36 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 9447 invoked by uid 89); 22 May 2014 09:05:59 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: collaborate-mta1.arm.com Received: from fw-tnat.austin.arm.com (HELO collaborate-mta1.arm.com) (217.140.110.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 May 2014 09:05:58 +0000 Received: from [10.1.209.147] (e104577-lin.cambridge.arm.com [10.1.209.147]) by collaborate-mta1.arm.com (Postfix) with ESMTPS id 82DF413F841; Thu, 22 May 2014 04:05:56 -0500 (CDT) Message-ID: <537DBDF3.1080907@arm.com> Date: Thu, 22 May 2014 10:05:55 +0100 From: Ramana Radhakrishnan User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" CC: Marcus Shawcroft Subject: [Patch AArch64] Include asm/ptrace.h in aarch64-linux-nat.c X-Original-Sender: ramana.radhakrishnan@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22a as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 Hi, A recent change to glibc removed asm/ptrace.h from user.h for AArch64. This meant that cross-native builds of gdb using trunk glibc broke because aarch64-linux-nat.c because user_hwdebug_state couldn't be found. Fixed by including asm/ptrace.h like other ports. Ok ? regards Ramana 2014-05-22 Ramana Radhakrishnan * aarch64-linux-nat.c (asm/ptrace.h): Include. commit 53278fc086b53264d75ec9cb2a4929565276100a Author: Ramana Radhakrishnan Date: Thu May 22 09:41:41 2014 +0100 Include asm/ptrace.h for recent glibc changes. diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f5c9c2..95df3e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-05-22 Ramana Radhakrishnan + * aarch64-linux-nat.c (asm/ptrace.h): Include. + +2014-05-22 Ramana Radhakrishnan + * MAINTAINERS (Write After Approval): Move self back from Paper trail. diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index 28ad38b..877e702 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -33,6 +33,7 @@ #include #include +#include #include "gregset.h"