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

Jan Kratochvil jan.kratochvil@redhat.com
Tue Nov 30 05:33:00 GMT 2010


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



More information about the Gdb-patches mailing list