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: [PATCH 2/2] Try to initialize data-directory by first searching for "data-directory" in the same directory as the gdb binary


> Here's yet another alternative: gdb already tries to locate
> data-directory in $BUILDDIR/share/gdb as part of the relocation logic;
> we can install a symlink there that points to
> $BUILDDIR/gdb/data-directory, or make a copy for platforms that don't
> support symlinks.

Sounds like an interesting idea. We could even do a local install
of the share directory with $BUILDDIR as the prefix, to avoid
duplicating the code, if that helps. But people might complain that
this steps is unnecessary for those who always do an install after
build. I think it's sufficiently negligible to be OK, personally.

-- 
Joel


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