From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1863 invoked by alias); 11 Feb 2009 21:16:27 -0000 Received: (qmail 1003 invoked by uid 22791); 11 Feb 2009 21:14:27 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Feb 2009 21:14:21 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B696D107D1; Wed, 11 Feb 2009 21:14:19 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 87F5D10577; Wed, 11 Feb 2009 21:14:19 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LXMPS-00035u-W2; Wed, 11 Feb 2009 16:14:19 -0500 Date: Wed, 11 Feb 2009 21:16:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: tromey@redhat.com, brobecker@adacore.com, bauerman@br.ibm.com, pedro@codesourcery.com, gdb-patches@sourceware.org Subject: Re: RFC: add ability to "source" Python code Message-ID: <20090211211418.GA11876@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , tromey@redhat.com, brobecker@adacore.com, bauerman@br.ibm.com, pedro@codesourcery.com, gdb-patches@sourceware.org References: <200902100235.59897.pedro@codesourcery.com> <20090210034834.GA20077@caradoc.them.org> <1234267091.13871.4.camel@localhost.localdomain> <20090211060911.GB4225@adacore.com> <20090211204249.GA9762@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00259.txt.bz2 On Wed, Feb 11, 2009 at 11:08:06PM +0200, Eli Zaretskii wrote: > > Could you explain why you think GDB should try to parse files > > with Python extensions as CLI scripts? I can't think of any > > case where this would be useful. > > I already explained that. Is this what you're referring to, or am I missing a further explanation? > Yes, this is called "backward compatibility". It just could be that > one reason why someone configures GDB without Python is that they > don't want this incompatible change. This argument would prevent us ever adding new commands or changing the behavior of a command without adding a configure option for them. The CLI already evolves over time; I don't think this level of compatibility is a realistic goal for us. -- Daniel Jacobowitz CodeSourcery