From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12499 invoked by alias); 12 Feb 2009 20:26:55 -0000 Received: (qmail 12491 invoked by uid 22791); 12 Feb 2009 20:26:54 -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 e24smtp01.br.ibm.com (HELO e24smtp01.br.ibm.com) (32.104.18.85) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 20:26:34 +0000 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by e24smtp01.br.ibm.com (8.13.1/8.13.1) with ESMTP id n1CKX7tG009810 for ; Thu, 12 Feb 2009 18:33:07 -0200 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n1CLPwWU3817688 for ; Thu, 12 Feb 2009 18:25:58 -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 n1CKQUEk006376 for ; Thu, 12 Feb 2009 18:26:31 -0200 Received: from [9.18.238.91] (CHRO.br.ibm.com [9.18.238.91]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1CKQUuY006373; Thu, 12 Feb 2009 18:26:30 -0200 Subject: Re: RFC: add ability to "source" Python code From: Thiago Jung Bauermann To: Joel Brobecker Cc: Eli Zaretskii , tromey@redhat.com, drow@false.org, pedro@codesourcery.com, gdb-patches@sourceware.org In-Reply-To: <20090212062654.GG13021@adacore.com> References: <1234267091.13871.4.camel@localhost.localdomain> <20090211060911.GB4225@adacore.com> <20090211203921.GC13021@adacore.com> <20090211220118.GE13021@adacore.com> <20090212062654.GG13021@adacore.com> Content-Type: text/plain; charset=utf-8 Date: Thu, 12 Feb 2009 20:32:00 -0000 Message-Id: <1234470390.10493.10.camel@localhost.localdomain> 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-02/txt/msg00296.txt.bz2 El mié, 11-02-2009 a las 22:26 -0800, Joel Brobecker escribió: > > > I could return the "heck of exaggeration" back by saying that we're only > > > talking about the highly improbably GDB scripts whose name uses a standard > > > Python extension. > > > > Yes, but I didn't say that makes the feature "much less useful". I > > just said that I didn't like the incompatibility. > > I did mean what I said, and I don't think it's an exageration. > Otherwise, I wouldn't be even arguing about it. I am OK with you > not agreeing with that judgement, but you do make it sound like > I'm obviously wrong. I cannot be that obvious, given the number of > people who expressed their opinion in favor of this feature, vs > the number of people against. For the record, I agree with Joel in that not recognizing .py makes the feature much less useful. > Anyway, how about a compromise, then, and require the -p switch to > source python scripts? The incompatibility is that > > (gdb) source -p foo > > would no longer work for file "-p foo". I think that's an acceptable > "incompatibilty". Would you agree? +1 -- []'s Thiago Jung Bauermann IBM Linux Technology Center