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


> 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


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