[PING 3][PATCH v10] Add pretty printers for the NPTL lock types
Martin Galvan
martin.galvan@tallertechnologies.com
Wed Aug 3 18:30:00 GMT 2016
On Wed, Aug 3, 2016 at 1:06 PM, Martin Galvan
<martin.galvan@tallertechnologies.com> wrote:
> Could you please
> take a look at that value and see if it's different from __mutex? You
> should be able to find it in the generated nptl_lock_constants.py. If
> it's also 0xffffffff, we may need to print both values in
> ConditionVariablePrinter.read_attributes and see why the comparison is
> failing.
I dug out the generated files, and saw that the generated value is
just -1. The printer in turn sees __mutex as a gdb.Value, which when
casted to (or compared with) int also shows -1. If your generated
PTHREAD_COND_SHARED is also -1, could you please check the value of
int(self.mutex)?
More information about the Libc-alpha
mailing list