This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add -s option to source command.
On Tue, Apr 6, 2010 at 2:57 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> In a big source tree with multiple disparate components it's useful to be
> able to load scripts without having to type full path names.
>
> This patch adds a -s option to the source command to make it search
> for the script in the source search path even if the script name specifies
> a directory.
fyi,
I figured it would be useful to test "source -s -v" and "source -v -s"
so I added that to the patch. Then I noticed that "source -v" leaves
-v stuck in the "on" position. I'll submit a separate patch to fix
that, and then update my source -s patch.