This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: add ability to "source" Python code
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