This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog NEWS cli/cli-cmds.c doc/Chan ...
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Apr 2010 17:45:57 -0000
- Subject: src/gdb ChangeLog NEWS cli/cli-cmds.c doc/Chan ...
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2010-04-15 17:45:57
Modified files:
gdb : ChangeLog NEWS
gdb/cli : cli-cmds.c
gdb/doc : ChangeLog gdb.texinfo
gdb/python : python.c python.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: source.exp
Log message:
Add -s option to source command.
* NEWS: Document new option.
* 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, and reformat.
* 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 -s".
doc/
* gdb.texinfo (Command Files): Add docs for new "source -s" option.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11619&r2=1.11620
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.369&r2=1.370
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-cmds.c.diff?cvsroot=src&r1=1.100&r2=1.101
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1046&r2=1.1047
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.704&r2=1.705
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.h.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2232&r2=1.2233
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/source.exp.diff?cvsroot=src&r1=1.11&r2=1.12