[PATCH v11] Add pretty printers for the NPTL lock types

Joseph Myers joseph@codesourcery.com
Mon Jan 2 13:51:00 GMT 2017


On Mon, 2 Jan 2017, Martin Galvan wrote:

> Guys, are there any news on this? Did the test fail for anyone else?

I'm seeing the following failures with current sources on x86_64.  This is 
with system GDB on Ubuntu 16.04 (but a locally built compiler, configured 
as a cross compiler, for building glibc).  System GDB is:

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1

FAIL: nptl/test-cond-printers
FAIL: nptl/test-condattr-printers
FAIL: nptl/test-mutex-printers
FAIL: nptl/test-mutexattr-printers
FAIL: nptl/test-rwlock-printers
FAIL: nptl/test-rwlockattr-printers

test-cond-printers.out says:

Error: Response does not match the expected pattern.
Command: enable pretty-printer global glibc-pthread-locks
Expected pattern: [1-9][0-9]* of [1-9]+ printers enabled
Response:  0 printers enabled
0 of 1 printers enabled
(gdb) 

and all the others are similar.  GDB is linked with Python 3.5, which is 
also the version found by configure.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list