old-cross-binutils/gdb/cli
Doug Evans 3f7b2faa4b 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.
2010-04-15 17:45:57 +00:00
..
cli-cmds.c Add -s option to source command. 2010-04-15 17:45:57 +00:00
cli-cmds.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-decode.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-decode.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-dump.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-dump.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-interp.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-logging.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cli-script.c * top.c (source_file_name): Make const char *. 2010-04-07 16:54:39 +00:00
cli-script.h * top.c (source_file_name): Make const char *. 2010-04-07 16:54:39 +00:00
cli-setshow.c gdb 2010-03-05 20:18:19 +00:00
cli-setshow.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00