From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49301 invoked by alias); 21 Sep 2017 14:14:57 -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 49289 invoked by uid 89); 21 Sep 2017 14:14:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Sep 2017 14:14:53 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id C7818DB6; Thu, 21 Sep 2017 16:14:50 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cAh3XcdZ1cw1; Thu, 21 Sep 2017 16:14:49 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 1D34BDB5; Thu, 21 Sep 2017 16:14:49 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id v8LEEmGP007934; Thu, 21 Sep 2017 16:14:48 +0200 (MEST) From: Rainer Orth To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: Fix gdb 8.1 Solaris compilation References: Date: Thu, 21 Sep 2017 14:14:00 -0000 In-Reply-To: (Andreas Schwab's message of "Thu, 21 Sep 2017 15:16:55 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-09/txt/msg00634.txt.bz2 Hi Andreas, > On Sep 21 2017, Rainer Orth wrote: > >> diff --git a/gdb/configure.nat b/gdb/configure.nat >> --- a/gdb/configure.nat >> +++ b/gdb/configure.nat >> @@ -216,7 +216,8 @@ case ${gdb_host} in >> case ${gdb_host_cpu} in >> i386) >> # Host: Solaris x86 >> - NATDEPFILES='fork-child.o i386-v4-nat.o i386-sol2-nat.o \ >> + NATDEPFILES='fork-child.o fork-inferior.o >> + i386-v4-nat.o i386-sol2-nat.o >> procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o' >> HAVE_NATIVE_GCORE_HOST=1 >> ;; > > Doesn't that lack backslashes? It does, good catch, thanks. The configure fragment resp. shell is fine without, of course, but they are needed once substituted into Makefile. Fixed locally. However, this section is only needed on Solaris < 10, which is why I didn't notice it until I tried an i386-pc-solaris2.9 build. It's probably time to remove support for those old Solaris versions in gdb, too: gcc lost them after 4.9. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University