diff options
Diffstat (limited to 'test_gdb-version-fix.patch')
-rw-r--r-- | test_gdb-version-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test_gdb-version-fix.patch b/test_gdb-version-fix.patch new file mode 100644 index 000000000000..ed1ddbea5923 --- /dev/null +++ b/test_gdb-version-fix.patch @@ -0,0 +1,11 @@ +--- a/Lib/test/test_gdb.py 2015-09-14 11:58:09.218811556 +0800 ++++ b/Lib/test/test_gdb.py 2015-09-14 11:58:24.845647558 +0800 +@@ -28,7 +28,7 @@ + # This is what "no gdb" looks like. There may, however, be other + # errors that manifest this way too. + raise unittest.SkipTest("Couldn't find gdb on the path") +-gdb_version_number = re.search(b"^GNU gdb [^\d]*(\d+)\.(\d)", gdb_version) ++gdb_version_number = re.search(b"^GNU gdb [^\d]*(\d+)\.(\d+)", gdb_version) + gdb_major_version = int(gdb_version_number.group(1)) + gdb_minor_version = int(gdb_version_number.group(2)) + if gdb_major_version < 7: |