From d234ef5c0cca9ae4737cfcd833555db14dc0ead0 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 27 Oct 2011 15:46:11 +0000 Subject: * 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/python/python.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.h') diff --git a/gdb/python/python.h b/gdb/python/python.h index ce0eb35..ae55cc2 100644 --- a/gdb/python/python.h +++ b/gdb/python/python.h @@ -30,7 +30,7 @@ extern void finish_python_initialization (void); void eval_python_from_control_command (struct command_line *); -void source_python_script (FILE *stream, const char *file); +void source_python_script (const char *file); int apply_val_pretty_printer (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, -- cgit v1.1