Fix gdb.python/py-finish-breakpoint.exp ERROR.
authorJoel Brobecker <brobecker@gnat.com>
Sun, 13 Jan 2013 08:24:22 +0000 (08:24 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sun, 13 Jan 2013 08:24:22 +0000 (08:24 +0000)
commitf751cc976ca8422cc96b9a2d7b64d6ae370a940a
treef9d9aec0db447c6b7f51c9fee79024eacdb0dfb9
parent68c4a57ee620ebf9f537473f39e36f3c894e0879
Fix gdb.python/py-finish-breakpoint.exp ERROR.

This patch fixes the following error, when running gdb.python/
py-finish-breakpoint.exp:

    ERROR: can't read "gdb_py_is_py24": no such variable
        while executing
    "if { $gdb_py_is_py24 == 1 } {

gdb/testsuite/ChangeLog:

        * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
        check.  Move $gdb_py_is_py24 value check right after.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-finish-breakpoint.exp