This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING 3][PATCH v10] Add pretty printers for the NPTL lock types
- From: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- To: libc-alpha at sourceware dot org, "Carlos O'Donell" <carlos at redhat dot com>, Siddhesh Poyarekar <sid at reserved-bit dot com>, Pedro Alves <palves at redhat dot com>, Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Date: Wed, 3 Aug 2016 15:49:56 -0300
- Subject: Re: [PING 3][PATCH v10] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <20160803143224.2549-1-martin.galvan@tallertechnologies.com> <CAOKbPbZfe0fc=vtKM3gDxq21V2Ef9atdhEOobA5pcfx2Ta2cag@mail.gmail.com> <CAOKbPbbL6gj+a3EVmzUcYmsC3+v+7v_Qa81_f=sPbmTixMmDPw@mail.gmail.com> <CAOKbPbZdNkhtfyGkQPFN7sb2YUFnF8ys-rSgyHDM1-mmX2mscA@mail.gmail.com>
On Wed, Aug 3, 2016 at 3:29 PM, Martin Galvan
<martin.galvan@tallertechnologies.com> wrote:
> If your generated
> PTHREAD_COND_SHARED is also -1, could you please check the value of
> int(self.mutex)?
One more thing: if casting to int throws a Python error, try casting
to long. The comparison should work in both cases though.
And btw, I just noticed that the gdb version regex was just missing an
additional '.+' to capture the distro name. However, just to be safe
I'll take a look at the gdb code to see what other version strings can
it produce.