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: [RFA] Add -s option to source command.


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


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