Skip to content

[libc++] GDB pretty-printers not installed #156189

@k3DW

Description

@k3DW

Does "printers.py" get installed either alongside libc++ package installation or with "llvm.sh"? I haven't been able to find the printers on my machine.

If this isn't user error, and the printers actually don't get installed, I would like to ask for this feature:

  • "printers.py" gets installed somewhere, maybe in "/usr/share" like libstdc++'s printers
  • An auto-load script gets installed to the appropriate location in "/usr/share/gdb/auto-load"

Recently I've had a difficult time using libc++'s pretty-printers. I manually installed "printers.py" and wrote my own minimal auto-load script, so that libc++'s printers work just as the libstdc++ printers work out of the box. This makes for a pretty difficult user experience. I wrote a Python script to automate this process, along with a blog post to document the issues I encountered along the way, but I would prefer to see this integrated into the libc++ installation in the first place.

Assuming this isn't just user error on my part, is this something that can be added to the libc++ installation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.packaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions