From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122985 invoked by alias); 30 Mar 2017 00:51:07 -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 121693 invoked by uid 89); 30 Mar 2017 00:51:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=baldwin, Baldwin, shipped X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Mar 2017 00:50:59 +0000 Received: by simark.ca (Postfix, from userid 33) id B64221E80F; Wed, 29 Mar 2017 20:50:58 -0400 (EDT) To: John Baldwin Subject: Re: [PATCH] Fix usage of inferior_ptid in two thread_alive implementations X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 30 Mar 2017 00:51:00 -0000 From: Simon Marchi Cc: gdb-patches@sourceware.org, Pedro Alves , Simon Marchi In-Reply-To: <2339561.2zYrb3lbLI@ralph.baldwin.cx> References: <20170207212450.2232-1-simon.marchi@ericsson.com> <8688edde-759a-7f84-482d-9823a8f546b3@redhat.com> <2339561.2zYrb3lbLI@ralph.baldwin.cx> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.4 X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00515.txt.bz2 On 2017-03-29 15:32, John Baldwin wrote: > I don't think any modern versions of either FreeBSD or OpenBSD > use bsd-uthread.c. The uthread target is for a thread implementation > that only provided threads in userland on top of a single process > (like "green" threads in the JDK). FreeBSD last shipped a release > with support for this thread model (FreeBSD 6.4) in 2008. I can't > speak to when OpenBSD stopped using user-based threads, but the > existence of kernel-based thread support in the obsd-nat target > implies it isn't used anymore either. For FreeBSD at least I think > it would be fine to remove bsd-uthread.c. > > (I should also send a patch in to remove FreeBSD/alpha as that > platform was retired at around the same time. The last release > to support alpha was 6.3 also released in 2008.) Thanks for the reply, this is very valuable information. I would appreciate very much any effort to remove obsolete targets, as it has some maintenance cost. For example, doing refactors that require touching all the targets (such as changing the interface of a target_ops method) is very long. If we can remove any target that has no reason to be today, it can only help. Simon