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 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


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