From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87487 invoked by alias); 5 Dec 2016 16:06:19 -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 87290 invoked by uid 89); 5 Dec 2016 16:06:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-io0-f169.google.com Received: from mail-io0-f169.google.com (HELO mail-io0-f169.google.com) (209.85.223.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Dec 2016 16:06:08 +0000 Received: by mail-io0-f169.google.com with SMTP id a124so603301175ioe.2 for ; Mon, 05 Dec 2016 08:06:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lGq0BmtiVnDGxpEUiJW/WKshoDxuFTPCHAf0KtIjRyA=; b=msdg6sBP49h60FbYtWzvzxhxgeOJnMRbNyMhNIVEg4pre0u1/sJ/KhZPHzgBrpNA1W EqmysYBqW5XbZWOPDG1l8IJCB247nDca9qH5Lm/U8QX+/OKOoIRg5rxk+Io4XrlFfq+x JY2YQkGWNmpX9o7MY69aSgKaMqLxCM7gczoYNa0JFES/Ru9PvEnYa4leSIskrtB4vq8E 5elJAx+EcdkfxGfhD+vmwui+TRjHVYbbAB1sVmj79v4OjqVvNR4jGSKl+GltbvtclWX2 ul6tNNrpkmxgnVuq/Epwca5HHNGQ8TR/mHVbUD194EOjEbBPur/7yYRhZwGkW4WKzKUU uTrQ== X-Gm-Message-State: AKaTC01TPZGTdGsodTLSqNQtGmFz3SmsGFgXRuFERvuhObEijTnbbHqxBzutgbzjxd6S2l6xFJVjQMr0rOjlzjWt X-Received: by 10.36.81.79 with SMTP id s76mr7137580ita.28.1480953967054; Mon, 05 Dec 2016 08:06:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.161.201 with HTTP; Mon, 5 Dec 2016 08:06:06 -0800 (PST) In-Reply-To: <20161205102626.5bx5ylt6inrbtjs4@localhost> References: <20161202214613.GA54717@beast> <20161202224952.panaxwmmrx4emord@localhost> <20161205102626.5bx5ylt6inrbtjs4@localhost> From: Kees Cook Date: Mon, 05 Dec 2016 16:06:00 -0000 Message-ID: Subject: Re: [PATCH] Fix PTRACE_GETREGSET failure for compat inferiors on arm64 To: Yao Qi Cc: "gdb-patches@sourceware.org" , Brian Murray , Matthias Klose Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-12/txt/msg00142.txt.bz2 On Mon, Dec 5, 2016 at 2:26 AM, Yao Qi wrote: > On 16-12-04 11:30:36, Kees Cook wrote: >> Right, I was asking how the target description is built. I couldn't >> determine where FPA was detected. >> > > It is detected in arm-tdep.c:arm_gdbarch_init, which looks for feature > org.gnu.gdb.arm.fpa, and set have_fpa_registers to 1 if this feature is > found. Yup, that part I found. What sets org.gnu.gdb.arm.fpa? -Kees -- Kees Cook Nexus Security