This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v8] Add pretty printers for the NPTL lock types

On Mon, Jun 20, 2016 at 12:18:37AM -0300, Martin Galvan wrote:
> Thanks for the answer. Can you specify what exactly is it that I'd
> need to do to get this running properly? That is, please tell me,
> step-by-step, exactly what I need to do in gdb/the Makefiles. I know
> very little of this, and won't sink countless more hours dwelling
> within the build system just to get it wrong again.

In Makeconfig there is a conditional that decides whether to use rpath
or rpath-link.  Additionally it also decides whether to use the built
dynamic linker or the system dynamic linker.  You'll have to enhance
the conditional so that it selects rpath and the built dynamic linker
when in the pretty-printers subdir.

> I don't know if Python's print() will end up in .test-result, but
> yeah, that's definitely something necessary. At least if I can't
> reproduce the failure I can send the new tests to you and we'll be
> able to figure it out from the output.

Yes, it is not a bad idea to print out diagnostic information even in
case of success.  The hang (rather, timeout) happens on line 66
('Owner ID': r'{0} \(dead\)') for me.

> Sure. Hopefully nobody else will jump in and tell me to revert any
> additional changes at the last minute :)

Hazards of collaborative community development :)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]