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] |
On Sat, Apr 17, 2010 at 8:19 AM, H.J. Lu <hjl.tools@gmail.com> wrote: >> 2010-04-06 ?Doug Evans ?<dje@google.com> >> >> ? ? ? ?Add -s option to source command. >> ? ? ? ?* cli/cli-cmds.c (find_and_open_script): Add function comment. >> ? ? ? ?Delete from_tty and cleanupp args. ?Split filep arg into file and >> ? ? ? ?full_pathp. ?New arg search_path. >> ? ? ? ?(source_script_from_stream): New function. >> ? ? ? ?(source_script_with_search): New function. >> ? ? ? ?(source_script): Rewrite. >> ? ? ? ?(source_command): Parse "-s" option. >> ? ? ? ?(init_cli_cmds): Add "-s" docs to source command help. >> ? ? ? ?* python/python.c (source_python_script): Make file arg a const char *. >> ? ? ? ?Don't call fclose, leave for caller. >> ? ? ? ?* python/python.h (source_python_script): Update. >> >> ? ? ? ?testsuite/ >> ? ? ? ?* gdb.base/source-test.gdb: New file. >> ? ? ? ?* gdb.base/source.exp: Add tests for "source -v" and "source -s". >> >> ? ? ? ?doc/ >> ? ? ? ?* gdb.texinfo (Command Files): Add docs for new "source -s" option. >> > > This caused: > > help source^M > Read commands from a file named FILE.^M > ^M > Usage: source [-s] [-v] FILE^M > -s: search for the script in the source search path,^M > ? ?even if FILE contains directories.^M > -v: each command in FILE is echoed as it is executed.^M > ^M > Note that the file ".gdbinit" is read automatically in this way^M > when GDB is started.^M > (gdb) FAIL: gdb.base/help.exp: help source Thanks. Fix checked in. 010-04-19 Doug Evans <dje@google.com> * gdb.base/help.exp (help source): Update expected output.
Attachment:
help-1.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |