From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12657 invoked by alias); 20 May 2009 15:10:52 -0000 Received: (qmail 12648 invoked by uid 22791); 20 May 2009 15:10:51 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e24smtp04.br.ibm.com (HELO e24smtp04.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 May 2009 15:10:44 +0000 Received: from mailhub1.br.ibm.com (mailhub1.br.ibm.com [9.18.232.109]) by e24smtp04.br.ibm.com (8.13.1/8.13.1) with ESMTP id n4KF9uYn015625 for ; Wed, 20 May 2009 12:09:56 -0300 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4KFB1Mh1081594 for ; Wed, 20 May 2009 12:11:02 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4KFAbWp001440 for ; Wed, 20 May 2009 12:10:38 -0300 Received: from [9.8.9.209] ([9.8.9.209]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n4KFAbVV001428; Wed, 20 May 2009 12:10:37 -0300 Subject: Re: [rfa][testsuite] Consolidade Python test functions in lib/gdb.exp. From: Thiago Jung Bauermann To: Daniel Jacobowitz Cc: Eli Zaretskii , tromey@redhat.com, gdb-patches@sourceware.org In-Reply-To: <20090520145859.GA9276@caradoc.them.org> References: <1242621476.8085.4.camel@hactar> <83ws8ep9gq.fsf@gnu.org> <1242744639.10143.6.camel@localhost.localdomain> <20090519145908.GA24773@caradoc.them.org> <83k54cq4oe.fsf@gnu.org> <1242771692.6232.1.camel@hactar> <83hbzgpixf.fsf@gnu.org> <1242789977.6232.21.camel@hactar> <20090520033939.GA31983@caradoc.them.org> <1242825492.6644.0.camel@hactar> <20090520145859.GA9276@caradoc.them.org> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 May 2009 15:10:00 -0000 Message-Id: <1242832233.6644.2.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 2009-05/txt/msg00422.txt.bz2 Em Qua, 2009-05-20 às 10:58 -0400, Daniel Jacobowitz escreveu: > On Wed, May 20, 2009 at 10:18:07AM -0300, Thiago Jung Bauermann wrote: > > Em Ter, 2009-05-19 às 23:39 -0400, Daniel Jacobowitz escreveu: > > > On Wed, May 20, 2009 at 12:26:17AM -0300, Thiago Jung Bauermann wrote: > > > > >From my part, not at all! I would gladly remove the python- prefix from > > > > everything. > > > > > > Note that all source files, unlike test cases, share a namespace: they > > > all currently get dropped in gdb/*.o. So this may be tricky. > > > > If I do the renaming and successfully build GDB and run the python > > testcases, does it show that there's no problem afoot? > > Probably, yes. I don't see how it could work though - python/frame.c > -> frame.o would clobber gdb/frame.c -> frame.o. Ah, I didn't think of python-frame.c. It didn't exist when I did this back then. :-( The right solution then is to make them not share a namespace. Tromey, you're the makefile wizard: is there an easy and painless way to make object files which come from different source directories in gdb/ to have different pathnames? -- []'s Thiago Jung Bauermann IBM Linux Technology Center