This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING][PATCH v9] Add pretty printers for the NPTL lock types
On 2016-07-08 19:59, Siddhesh Poyarekar wrote:
> On Fri, Jul 08, 2016 at 11:16:09AM -0300, Adhemerval Zanella wrote:
> > Since you were the one that reviewed it the most I see if you think it
> > is ok for inclusion please commit.
>
> Thanks, I've pushed this.
What are the requirements on the gdb side for this to work? I have gdb
version 7.11.1 and all the pretty printers tests fail this way:
| Error: Response does not match the expected pattern.
| Command: print *rwlock
| Expected pattern: pthread_rwlock_t
| Response: $1 = {__data = {__lock = 0, __nr_readers = 0, __readers_wakeup = 0,
| __writer_wakeup = 0, __nr_readers_queued = 0, __nr_writers_queued = 0,
| __writer = 0, __shared = 0, __rwelision = 0 '\000',
| __pad1 = "\000\000\000\000\000\000", __pad2 = 0, __flags = 0},
| __size = '\000' <repeats 55 times>, __align = 0}
| gdb-test%
Also note that the output of the tests appear on stdout instead of being
saved on the corresponding .out file.
Thanks,
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net