GDB pretty-printers for glibc?
Wed Jul 12 19:52:00 GMT 2017
On 13 July 2017 at 01:18, Paul Smith <email@example.com> wrote:
> Hm. Thanks for that. I've searched and it doesn't appear that
> Debian/Ubuntu provide these macros in any of the glibc6 packages,
> including the dev and debug packages.
> So, I obtained the Git repo to get them.
> Is there any easier way to generate the nptl_lock_constants.py file
> from the nptl_lock_constants.pysym file checked into Git, other than
> building the entirety of the glibc package? Does the make environment
> have a target I can use that will just generate these constant files
> without compiling all the code?
There isn't one, mainly because the file is tightly integrated with
the structures in the glibc sources - it accesses internal structures
that could change between releases.
More information about the Libc-help