diff options
| author | Doug Evans <dje@google.com> | 2011-10-27 15:46:11 +0000 | 
|---|---|---|
| committer | Doug Evans <dje@google.com> | 2011-10-27 15:46:11 +0000 | 
| commit | d234ef5c0cca9ae4737cfcd833555db14dc0ead0 (patch) | |
| tree | bf0ed9a7ba656b0baae5d48d400f04007b890da3 /gdb/python/python-internal.h | |
| parent | a08fc94222d1b5be7ecbf52d4d41fa6da1d71f18 (diff) | |
| download | binutils-d234ef5c0cca9ae4737cfcd833555db14dc0ead0.zip binutils-d234ef5c0cca9ae4737cfcd833555db14dc0ead0.tar.gz binutils-d234ef5c0cca9ae4737cfcd833555db14dc0ead0.tar.bz2  | |
	* 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.
Diffstat (limited to 'gdb/python/python-internal.h')
| -rw-r--r-- | gdb/python/python-internal.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index e593612..ef39d5d 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -247,7 +247,7 @@ extern const struct language_defn *python_language;  void gdbpy_print_stack (void);  void source_python_script_for_objfile (struct objfile *objfile, -				       FILE *stream, const char *file); +				       const char *file);  PyObject *python_string_to_unicode (PyObject *obj);  char *unicode_to_target_string (PyObject *unicode_str);  | 
