Re: [PATCH 2/2] Try to initialize data-directory by first searching for "data-directory" in the same directory as the gdb binary

Joel Brobecker
2012-09-24T07:30:09Z

> Personally, I'm not fond of either my patch or yours, since they hard
> code parts of the build directory into the binary (whether
> "data-directory" or "gdb/data-directory"). In either case, they can
> lead to weird, difficult-to-understand behavior (possibly even
> dangerous) in the off chance that one those directory exist. I'd
> rather leave it out.

Well, for my part, I cannot wait for this patch to go in, because
I've grown accustomed to being able to just run the GDB from the
build directory. Having to install it now is an important downer
for me.

--
Joel