From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7051 invoked by alias); 20 May 2010 21:28:40 -0000 Received: (qmail 6701 invoked by uid 22791); 20 May 2010 21:28:39 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 May 2010 21:28:33 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4KLSAgq015362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 May 2010 17:28:10 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4KLS7TP025739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 May 2010 17:28:09 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o4KLS7ke009027; Thu, 20 May 2010 23:28:07 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o4KLS5QN009026; Thu, 20 May 2010 23:28:05 +0200 Date: Thu, 20 May 2010 21:37:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/2] Add gdb_libdir/python- in front of Python search path. Message-ID: <20100520212805.GA8617@host0.dyn.jankratochvil.net> References: <1274380803-25266-1-git-send-email-brobecker@adacore.com> <1274380803-25266-3-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1274380803-25266-3-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes 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-05/txt/msg00451.txt.bz2 On Thu, 20 May 2010 20:40:03 +0200, Joel Brobecker wrote: > +\n\ > +# Put gdb_libdir/python- in the python search path. This allows\n\ > +# us to provide GDB bundled with its own python runtime (the .py/pyc files).\n\ > +sys.path.insert(0, gdb.libdir + \"/python-%d.%d\" % (sys.version_info[0],\n\ > + sys.version_info[1]))\n\ While I do not mind wrt FSF GDB I find this kind of patch as the schoolbook example of a distro patch nobody expects to be accepted upstream. I could push the same way patch for using gcc44 for specific testcases requiring newer gcc, workaround of Red Hat specific kernel incompatibility or workaround of upstream ccache bug which you voted for not including in FSF GDB http://sourceware.org/ml/gdb-patches/2009-03/msg00026.html Regards, Jan