aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-04-15 17:45:57 +0000
committerDoug Evans <dje@google.com>2010-04-15 17:45:57 +0000
commit3f7b2faa4bb3f35f6c88687b6943cdbe6003b615 (patch)
tree8bf0af678389bf6da72d8bc3def978e10ca77485 /gdb/ChangeLog
parent75375b3e00c282a6461d1a3df83582f624b18377 (diff)
downloadgdb-3f7b2faa4bb3f35f6c88687b6943cdbe6003b615.zip
gdb-3f7b2faa4bb3f35f6c88687b6943cdbe6003b615.tar.gz
gdb-3f7b2faa4bb3f35f6c88687b6943cdbe6003b615.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 920590c..d4d26be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,19 @@
+2010-04-15 Doug Evans <dje@google.com>
+
+ 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.
+
2010-04-14 Daniel Jacobowitz <dan@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>