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

Eli Zaretskii
2012-09-25T06:29:38Z

> Date: Mon, 24 Sep 2012 23:34:57 +0200
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: khooyp@cs.umd.edu, jan.kratochvil@redhat.com,
> gdb-patches@sourceware.org
>
> > What's wrong with "../data-directory" relative to the directory from
> > which 'gdb' was invoked?
>
> I my opinion, it opens a very obvious window for running something
> the user didn't mean to run.

I don't see how.