[Python-checkins] cpython (2.7): remove gdb noise about linux-vdso

benjamin.peterson python-checkins at python.org
Fri Sep 21 05:50:16 CEST 2012


http://hg.python.org/cpython/rev/3d170d1e2fa3
changeset:   79079:3d170d1e2fa3
branch:      2.7
parent:      79068:e4037dd73877
user:        Benjamin Peterson <benjamin at python.org>
date:        Thu Sep 20 23:48:23 2012 -0400
summary:
  remove gdb noise about linux-vdso

files:
  Lib/test/test_gdb.py |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -150,6 +150,11 @@
         err = err.replace("warning: Cannot initialize thread debugging"
                           " library: Debugger service failed\n",
                           '')
+        err = err.replace('warning: Could not load shared library symbols for '
+                          'linux-vdso.so.1.\n'
+                          'Do you need "set solib-search-path" or '
+                          '"set sysroot"?\n',
+                          '')
 
         # Ensure no unexpected error messages:
         self.assertEqual(err, '')

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list