gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Jan 2012 21:54:45 +0000 (21:54 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Jan 2012 21:54:45 +0000 (21:54 +0000)
commit4c63965b8a74d9dd3d8ed6fed659c4db977c6ddd
tree64cf919895461ab530db6372abd54e58e0250428
parent88f38a04788e0a788dbc3159c87d4c96c867f681
gdb/
Do not open script filenames twice.
* cli/cli-cmds.c (source_script_from_stream): Pass to
source_python_script also STREAM.
* python/py-auto-load.c (source_section_scripts): Pass to
source_python_script_for_objfile also STREAM.
(auto_load_objfile_script): Pass to source_python_script_for_objfile
also INPUT.
* python/python-internal.h (source_python_script_for_objfile): New
parameter file, rename parameter file to filename.
* python/python.c (python_run_simple_file): Call PyRun_SimpleFile
instead if !_WIN32.  Update the function comment.
(source_python_script, source_python_script_for_objfile)
(source_python_script): New parameter file, rename parameter file to
filename.  Pass FILENAME to python_run_simple_file.
* python/python.h (source_python_script): New parameter file, rename
parameter file to filename.
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
This page took 0.026422 seconds and 4 git commands to generate.