]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* cli/cli-cmds.c (source_script_with_search): Pass full path to
authorDoug Evans <dje@google.com>
Thu, 27 Oct 2011 15:46:11 +0000 (15:46 +0000)
committerDoug Evans <dje@google.com>
Thu, 27 Oct 2011 15:46:11 +0000 (15:46 +0000)
commitd234ef5c0cca9ae4737cfcd833555db14dc0ead0
treebf0ed9a7ba656b0baae5d48d400f04007b890da3
parenta08fc94222d1b5be7ecbf52d4d41fa6da1d71f18
* cli/cli-cmds.c (source_script_with_search): Pass full path to
source_script_from_stream if it may have been found on the search path.
* python/py-auto-load.c (source_section_scripts): Pass full path to
source_python_script_for_objfile.
* python/python.c (source_python_script): Delete stream parameter.
All callers updated.
(source_python_script_for_objfile): Ditto.
* python/python-internal.h (source_python_script_for_objfile): Update.
* python/python.h (source_python_script): Update.

testsuite/
* gdb.python/python.exp: Test source -s.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/python/py-auto-load.c
gdb/python/python-internal.h
gdb/python/python.c
gdb/python/python.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp