From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97549 invoked by alias); 29 Oct 2018 08:50:26 -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 97536 invoked by uid 89); 29 Oct 2018 08:50:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:db9660f, H*i:sk:CAFyWVa X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Oct 2018 08:50:25 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 063C5AFD7; Mon, 29 Oct 2018 08:50:22 +0000 (UTC) From: Andreas Schwab To: Jim Wilson Cc: John Baldwin , Andrew Burgess , gdb-patches@sourceware.org Subject: Re: [PATCH 4/5] RISC-V: Add native linux support. References: <20180808233908.8149-1-jimw@sifive.com> <20181025110946.GN2929@embecosm.com> X-Yow: GOOD-NIGHT, everybody.. Now I have to go administer FIRST-AID to my pet LEISURE SUIT!! Date: Mon, 29 Oct 2018 08:50:00 -0000 In-Reply-To: (Jim Wilson's message of "Thu, 25 Oct 2018 11:17:22 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-10/txt/msg00683.txt.bz2 On Okt 25 2018, Jim Wilson wrote: > On Thu, Oct 25, 2018 at 10:55 AM John Baldwin wrote: >> Now that the MISA defaults to 0 if not present, would it better to just remove >> this and not set it to 0 explicitly? The FreeBSD native target for RISC-V >> doesn't set MISA to anything at all. > > There is still the issue of FP register size, which comes from MISA, > unless perhaps we can get it from auxvec/hw-cap info. I was going to > look into that latter, and if the auxvec/hw-cap stuff works, then > remove the remaining MISA support in the riscv-linux-nat.c file. Note you need commit 0ddc77556c to get a correct AT_HWCAP. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."