This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Don't install gdb.PYTHONDIR if -nx


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> I don't entirely like the patch, it's extending -nx into
Doug> new territory, e.g., -nx controlling whether certain commands
Doug> are available or not.  It shouldn't matter, from the user's
Doug> perspective, whether the commands are implemented in python.

I agree.  In particular I think it is reasonable to want to use python
commands from a batch script, but such a script is likely to use -nx.

Doug> However, the only other alternative I can think of is to
Doug> add a new option, and I'm guessing that's unacceptable.

I think it would be fine to add one.
 

Either way I think the documentation needs to be updated.

Jan pointed out that this is PR 12227.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]