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-24T15:49:41Z

> From: Khoo Yit Phang <khooyp@cs.umd.edu>
> Date: Mon, 24 Sep 2012 11:27:20 -0400
> Cc: Eli Zaretskii <eliz@gnu.org>,
> brobecker@adacore.com,
> jan.kratochvil@redhat.com,
> gdb-patches@sourceware.org
>
> Come to think of it, with GDB's follow-exec-mode, making the redirector a C program installed as "gdb/gdb" that exec's "gdb/gdb-the-real-binary" should also allow running "gdb gdb/gdb" to work, shouldn't it?

Only if follow-exec-mode works well (AFAIK, it doesn't on Windows).
And even then, the user could find it surprising and unexpected.