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


On Tue, 30 Nov 2010 05:22:09 +0100, Daniel Jacobowitz wrote:
> If this is the problem you're trying to solve, I think a new option is
> better - but it's not -np.  Why not an option to set gdb.PYTHONDIR
> before loading anything?

The -np could also delay the Python initialization.  This would never
initialize Python for non-gdb.python/ testcases, saving some cycles.

But that is not implemented there by this patch and it is questiontable if it
is worth coding with all the testsuite overhead.


Thanks,
Jan


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