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

Jan Kratochvil
2010-11-30T05:33:16Z

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