From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117285 invoked by alias); 2 Feb 2017 09:52:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 117264 invoked by uid 89); 2 Feb 2017 09:52:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*f:sk:1485995, H*i:sk:1485995, H*MI:sk:1485995, Hx-languages-length:567 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-wm0-f68.google.com Received: from mail-wm0-f68.google.com (HELO mail-wm0-f68.google.com) (74.125.82.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Feb 2017 09:52:10 +0000 Received: by mail-wm0-f68.google.com with SMTP id v77so2980070wmv.0; Thu, 02 Feb 2017 01:52:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=yI8rxYOH0rlxlTz6ZvogOUsvhduq0IUKor62PvbEbaA=; b=oCJJFXwM9jCD8DU64yEyOeXftG5i8Yr1CTgQYUP9Ue4KIxrnQX7mwO7kIcNYPVdQCj S5kRhnBRbxlMGloxtDbFlI5f95H+ZYdDOVtERTYUdp+oJQ5QIWBM/6C9m1YJYmE7RVKS 7xWVzAmRCjYuqZ5QlJnKROg39q5wuFcx+JHXNuJjq8T0dt+wNo4cgNAcZ8BccZezrM9N 065ZoHdPwmZgOCh5nMufQKQ1w2I0ayYf01yee62fqc7VHUSgdGGjvQrK5NfZjnmJzR4D Brnw6dxs6GmxHULel0Bbn8Mqa3Az23EFNjLiGphVCM1OSeD6aW4FpsdAZXfEfCS7+s1+ LoDg== X-Gm-Message-State: AIkVDXL8QFOOrUsxyEqIwFD1FcMXu5qfg+84jSetJgsh4aJA1uOx2HPVd/jaDLbA5ukYWg== X-Received: by 10.28.69.28 with SMTP id s28mr25245287wma.40.1486029128472; Thu, 02 Feb 2017 01:52:08 -0800 (PST) Received: from E107787-LIN ([194.214.185.158]) by smtp.gmail.com with ESMTPSA id 61sm38692941wrs.29.2017.02.02.01.51.58 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 02 Feb 2017 01:51:58 -0800 (PST) Date: Thu, 02 Feb 2017 09:52:00 -0000 From: Yao Qi To: Steve Ellcey Cc: binutils , gdb-patches , Yury Norov , Andreas Schwab , "Pinski, Andrew" Subject: Re: [PATCH] Patch 2 of 2 for aarch64 ILP32 support in gdb Message-ID: <20170202095154.GB27498@E107787-LIN> References: <1485303639.29977.10.camel@caviumnetworks.com> <20170126141414.GY28060@E107787-LIN> <1485555939.2509.5.camel@caviumnetworks.com> <20170129224045.ekflcodtmfs4hv54@localhost> <1485904559.22118.17.camel@caviumnetworks.com> <1485995996.22118.34.camel@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1485995996.22118.34.camel@caviumnetworks.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00066.txt.bz2 On 17-02-01 16:39:56, Steve Ellcey wrote: > It looks like I am having a problem with ptrace.  From gdb.log: > > Attaching to program: /home/ubuntu/sellcey/gdb-std/obj/binutils/gdb/testsuite/outputs/gdb.base/attach/attach, process 7631 > ptrace: Operation not permitted. Hi Steve, This is a common ptrace attach permission issue. You can "echo 0 > /proc/sys/kernel/yama/ptrace_scope" or modify it in some config file /etc/sysctl.d/10-ptrace.conf (different distro may have different path). -- Yao (齐尧)