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: [RFC] New option -B: simplify running gdb from build directory


> From: Doug Evans <dje@google.com>
> Date: Fri, 27 Dec 2013 11:42:29 -0800
> 
> The "make run" Makefile rule simplifies running gdb from the shell,
> but it doesn't simplify running gdb from gdb: I'm always typing
> "--data-directory=$(pwd)/data-directory".
> And since we can't agree on a way to let gdb auto-detect being run
> from the build directory, how about this?

Thanks.

However, if we cannot agree on the above, why would adding a new
option facilitate agreement?

Personally, this way of solving the issue makes little sense to me: if
I need to specify a special option to GDB, I can be expected to
specify --data-directory explicitly.


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