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

Daniel Jacobowitz dan@codesourcery.com
Tue Nov 30 18:19:00 GMT 2010


On Mon, Nov 29, 2010 at 09:16:33PM -0800, Doug Evans wrote:
> On Mon, Nov 29, 2010 at 8:22 PM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
> > Why not an option to set gdb.PYTHONDIR
> > before loading anything?
> 
> Or rather an option to set data-directory?
> [It might be tempting to do -x "set data-dir mumble" but -x is
> processed too late for .gdbinit.]

That would work for me.  You'd need to make sure the build / testsuite
set up something with the right layout (typical "staged install"
problem; GCC has this issue too...).

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list