From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14544 invoked by alias); 13 Sep 2010 18:11:09 -0000 Received: (qmail 14534 invoked by uid 22791); 13 Sep 2010 18:11:08 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Sep 2010 18:11:04 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B4BC32BABF4; Mon, 13 Sep 2010 14:11:02 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VdXpjWpReuWO; Mon, 13 Sep 2010 14:11:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 79C212BABDD; Mon, 13 Sep 2010 14:11:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 86632F599F; Mon, 13 Sep 2010 14:11:00 -0400 (EDT) Date: Mon, 13 Sep 2010 19:14:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: gdb-patches@sourceware.org Subject: Re: [RFA 5/5] New patches to support --enable-targets=all for mingw64 Message-ID: <20100913181100.GC3845@adacore.com> References: <004201cb50f2$18d8f310$4a8ad930$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004201cb50f2$18d8f310$4a8ad930$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2010-09/txt/msg00253.txt.bz2 > 5) solib-som.c is a tdep file (it is listed in ALL_TARGET_OBS) > but it tries to get the hpux system version trough > a direct system call, which probably leads to wrong results > on other systems too. Ugh! I have a more radical suggestion: AFAIK, we have not supported pa-hpux version 10.x or older for quite a while. According to HP, the first 11.x release was in 1997, and the l0.x release was also in 1997. Given that this version number is used to determine whether the OS version is 11 or more, we can assume that this is always true, and thus get rid of the function (and the associated include) entirely. -- Joel