c8ca20
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
c8ca20
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
c8ca20
@@ -96,6 +96,15 @@ class DebuggerTests(unittest.TestCase):
c8ca20
         # Generate a list of commands in gdb's language:
c8ca20
         commands = ['set breakpoint pending yes',
c8ca20
                     'break %s' % breakpoint,
c8ca20
+
c8ca20
+                    # GDB as of Fedora 17 onwards can distinguish between the
c8ca20
+                    # value of a variable at entry vs current value:
c8ca20
+                    #   http://sourceware.org/gdb/onlinedocs/gdb/Variables.html
c8ca20
+                    # which leads to the selftests failing with errors like this:
c8ca20
+                    #   AssertionError: 'v@entry=()' != '()'
c8ca20
+                    # Disable this:
c8ca20
+                    'set print entry-values no',
c8ca20
+
c8ca20
                     'run']
c8ca20
         if cmds_after_breakpoint:
c8ca20
             commands += cmds_after_breakpoint
c8ca20
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
c8ca20
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
c8ca20
@@ -144,6 +153,10 @@
c8ca20
             'Do you need "set solib-search-path" or '
c8ca20
             '"set sysroot"?',
c8ca20
             )
c8ca20
+        ignore_patterns += ('warning: Unable to open',
c8ca20
+                            'Missing separate debuginfo for',
c8ca20
+                            'Try: yum --disablerepo=',
c8ca20
+                            'Undefined set print command')
c8ca20
         for line in errlines:
c8ca20
             if not line.startswith(ignore_patterns):
c8ca20
                 unexpected_errlines.append(line)