This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Don't install gdb.PYTHONDIR if -nx
On Tue, Nov 30, 2010 at 10:19 AM, Daniel Jacobowitz
<dan@codesourcery.com> wrote:
> 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...).
Setting aside any system.gdbinit, that's already done: $obj/gdb/data-directory.