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.
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 07 Apr 2010 14:14:33 -0600
- Subject: Re: [RFA] Add -s option to source command.
- References: <20100406215751.7EC1784397@ruffy.mtv.corp.google.com>
- Reply-to: tromey at redhat dot com
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> This patch adds a -s option to the source command to make it
Doug> search for the script in the source search path even if the script
Doug> name specifies a directory.
It seems reasonable to me.
Doug> Read commands from a file named FILE.\n\
Doug> Optional -v switch (before the filename) causes each command in\n\
Doug> FILE to be echoed as it is executed.\n\
Doug> +Optional -s switch (before the filename) causes gdb to search for\n\
Doug> +the script in the source search path, even if FILE contains directories.\n\
I often wish that gdb help strings were formatted more like --help
output.
Tom