From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72640 invoked by alias); 20 Aug 2015 10:50:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 72620 invoked by uid 89); 20 Aug 2015 10:50:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 20 Aug 2015 10:50:12 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 590AD8E747; Thu, 20 Aug 2015 10:50:11 +0000 (UTC) Received: from localhost (ovpn-116-100.ams2.redhat.com [10.36.116.100]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7KAoACC023324; Thu, 20 Aug 2015 06:50:10 -0400 Date: Thu, 20 Aug 2015 10:52:00 -0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Cc: Matthias Klose Subject: [patch] Restore installation of libstdc++.so.6.0.??-gdb.py Message-ID: <20150820105010.GO27791@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qp4W5+cUSnZs0RIF" Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg01190.txt.bz2 --qp4W5+cUSnZs0RIF Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-length: 360 Matthias noticed that my backport of the Filesystem library removed the libstdc++.so.6.0.21-gdb.py file, which was now getting installed as libstdc++fs.a-gdb.py instead. Fixed by changing the glob we use to find the candidate library files that we use for the name of the installed gdb.py file. Tested powerpc64le-linux, committed to trunk and gcc-5-branch. --qp4W5+cUSnZs0RIF Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" Content-length: 784 commit dc3403f07733a847f37e15c856759a94aa7e97d7 Author: Jonathan Wakely Date: Thu Aug 20 11:11:51 2015 +0100 * python/Makefile.am: Ensure gdb.py is installed for libstdc++ not libstdc++fs. * python/Makefile.in: Regenerate. diff --git a/libstdc++-v3/python/Makefile.am b/libstdc++-v3/python/Makefile.am index 5d78224..ccb9427 100644 --- a/libstdc++-v3/python/Makefile.am +++ b/libstdc++-v3/python/Makefile.am @@ -49,7 +49,7 @@ install-data-local: gdb.py ## fragile, but there does not seem to be a better option, because ## libtool hides the real names from us. @here=`pwd`; cd $(DESTDIR)$(toolexeclibdir); \ - for file in libstdc++*; do \ + for file in libstdc++.*; do \ case $$file in \ *-gdb.py) ;; \ *.la) ;; \ --qp4W5+cUSnZs0RIF--