Blame SOURCES/00194-gdb-dont-fail-on-frame-with-address.patch

ae2451
--- Lib/test/test_gdb.py.orig	2014-08-01 14:30:43.397473152 +0200
ae2451
+++ Lib/test/test_gdb.py	2014-08-01 14:34:50.907325691 +0200
ae2451
@@ -135,6 +135,16 @@
ae2451
                     # Disable this:
ae2451
                     'set print entry-values no',
ae2451
 
ae2451
+                    # The tests assume that the first frame of printed
ae2451
+                    #  backtrace will not contain program counter,
ae2451
+                    #  that is however not guaranteed by gdb (rhbz#1125657)
ae2451
+                    #  therefore we need to use 'set print address off' to
ae2451
+                    #  make sure the counter is not there. For example:
ae2451
+                    # #0 in PyObject_Print ...
ae2451
+                    #  is assumed, but sometimes this can be e.g.
ae2451
+                    # #0 0x00003fffb7dd1798 in PyObject_Print ...
ae2451
+                    'set print address off',
ae2451
+
ae2451
                     'run']
ae2451
 
ae2451
         if HAS_AUTOLOAD_SAFEPATH: