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

Daniel Jacobowitz
2010-11-30T18:19:18Z

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