This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: GDB pretty-printers for glibc?
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: paul at mad-scientist dot net
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Thu, 13 Jul 2017 01:21:59 +0530
- Subject: Re: GDB pretty-printers for glibc?
- Authentication-results: sourceware.org; auth=none
- References: <1499878516.25789.53.camel@mad-scientist.net> <CAAHN_R0E+Ax1vFt4d9ZgkOM_J=kRAAXwH9d=DAA4So9peeB8Zg@mail.gmail.com> <1499888932.25789.65.camel@mad-scientist.net>
On 13 July 2017 at 01:18, Paul Smith <paul@mad-scientist.net> 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.
Siddhesh
--
http://siddhesh.in