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

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