From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4135 invoked by alias); 10 Sep 2014 06:47:20 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 4124 invoked by uid 89); 10 Sep 2014 06:47:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Sep 2014 06:47:17 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id A8FFF34D84CE7; Wed, 10 Sep 2014 07:47:12 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 10 Sep 2014 07:47:14 +0100 Received: from localhost (192.168.159.76) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 10 Sep 2014 07:47:09 +0100 Date: Wed, 10 Sep 2014 06:47:00 -0000 From: Paul Burton To: James Hogan CC: "Maciej W. Rozycki" , , Matthew Fortune Subject: Re: Adding MIPS registers (was Re: [PATCH v2] Reset errno before PTRACE_PEEKUSER for MIPS DSP_CONTROL) Message-ID: <20140910064706.GS17248@pburton-laptop> References: <1409608120-23991-1-git-send-email-james.hogan@imgtec.com> <20140903125111.GF12084@jhogan-linux.le.imgtec.org> <540F2ECD.5080604@imgtec.com> <20140909203922.GA27832@jhogan-linux.le.imgtec.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20140909203922.GA27832@jhogan-linux.le.imgtec.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00036.txt.bz2 On Tue, Sep 09, 2014 at 09:39:22PM +0100, James Hogan wrote: > > with the UFR > > feature, so the register set presented will have to change dynamically, > > according to that setting even for Linux targets. > > I have a feeling that UFR is currently unlikely to be enabled in Linux, > due to subtleties with mode switches in multi-threaded processes > requiring kernel support. Matthew or Paul (on CC) can probably confirm > that. Correct, UFR (along with UFE) is currently not enabled by Linux, and I'm not aware of any need to deal with the pain involved in enabling it. There is a need to switch mode across a whole process, which will need to be met in some other way (the prctls in my internal branch, and hopefully the same once upstream). Paul