]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Crash sourcing Python script on Windows
authorJoel Brobecker <brobecker@gnat.com>
Mon, 3 Oct 2011 20:46:19 +0000 (20:46 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 3 Oct 2011 20:46:19 +0000 (20:46 +0000)
commit7ed7d7192655d73ac3e39b92403b8e99f45b3572
tree8d6418eda673a2cf223c0cef5f262cb3b49dc826
parentfb2137004874579d75b623cc374dbc15c426e07e
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