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


> 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.


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