From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100555 invoked by alias); 5 Dec 2016 10:26:44 -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 100544 invoked by uid 89); 5 Dec 2016 10:26:43 -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= X-HELO: mail-wj0-f193.google.com Received: from mail-wj0-f193.google.com (HELO mail-wj0-f193.google.com) (209.85.210.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Dec 2016 10:26:37 +0000 Received: by mail-wj0-f193.google.com with SMTP id j10so11093586wjb.3 for ; Mon, 05 Dec 2016 02:26:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ukv6UdwNOkUE9EbQ3vQViGEY280KG2ZYM2dgvoOO0jU=; b=FN7VKKxAPQy6sTFqW14RRXQx7BVEmDsLKPezVkJLQznBSUQV8Jcj1XoIOfURwMMx5P dfxi3TBW6JoeXPldSZOvoQyILj2YQed4PhPTk3v8BSpJ9r5T8FYXOvOXJsiWqPBkDg5C KCS7JGiR64mHvrx1CjgzwM+r4MiKe35qY1UO4WvfROEnjz2NGViU0Y9gj8gLcBQR2u+R 8SO7uWS6F/RUwkI2oYk3fz1uECllf92Ew/8OUw7im9AeiiPAdySY3OlXIlc6YfoZZTx9 X5OkxvWLoToHIYCf0Mg+PIId4X5/a/nkOBw4uURhqFHDN9eRDc862CPrEBfLJcMEos+M ACRg== X-Gm-Message-State: AKaTC00LHPfx58QrdiEClEBqKHeTqs9Rb9+29xSX7AfcnMC8QNn6FuvS6FRfUmUVkGhQHw== X-Received: by 10.194.127.104 with SMTP id nf8mr19431210wjb.39.1480933595151; Mon, 05 Dec 2016 02:26:35 -0800 (PST) Received: from localhost (gcc114.osuosl.org. [140.211.9.72]) by smtp.gmail.com with ESMTPSA id e188sm17284578wma.21.2016.12.05.02.26.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Dec 2016 02:26:34 -0800 (PST) Date: Mon, 05 Dec 2016 10:26:00 -0000 From: Yao Qi To: Kees Cook Cc: "gdb-patches@sourceware.org" , Brian Murray , Matthias Klose Subject: Re: [PATCH] Fix PTRACE_GETREGSET failure for compat inferiors on arm64 Message-ID: <20161205102626.5bx5ylt6inrbtjs4@localhost> References: <20161202214613.GA54717@beast> <20161202224952.panaxwmmrx4emord@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20161104 (1.7.1) X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00130.txt.bz2 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. -- Yao