OSDN Git Service

Crash sourcing Python script on Windows
authorbrobecke <brobecke>
Mon, 3 Oct 2011 20:46:18 +0000 (20:46 +0000)
committerbrobecke <brobecke>
Mon, 3 Oct 2011 20:46:18 +0000 (20:46 +0000)
commit990c73c17bd822d9fb7e5df5ad3fd57709c979a5
tree10c51c67da95509ecfed5c34b82a638b671198eb
parent3b758901ec58b888b530a96bb81d5b82fbb03af6
Crash sourcing Python script on Windows

gdb/ChangeLog:

        * python/python.c (python_run_simple_file): New function.
        (source_python_script, source_python_script_for_objfile):
        Replace call to PyRun_SimpleFile by call to
        python_run_simple_file.
gdb/ChangeLog
gdb/python/python.c