[Bug default/18916] libabigail should provide gdb pretty printers for the types it defines

woodard at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jan 1 00:00:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=18916

--- Comment #2 from Ben Woodard <woodard at redhat dot com> ---
2:38 ooprala: neb: hey, can you elaborate on 18916? I'm aware that LLDB has a
similar feature to gdb, though I don't know how much it differs
22:38 ooprala: neb: are there any other utils we should be considering?\

Basically this should be a universal capability, in much the same way that
there is a C++ demangler like abi::__cxa_demangle that takes the actual C++
symbols and algorithmically converts them into user readable function names. It
isn't just GDB, LLDB, and libabigail that need to pretty print C++ types. Tools
are becoming more and more diverse and often times with complex or large scale
applications purpose written. Furthermore, the diversity of C++ libraries is
increasing and there are more and more libraries which need some sort of pretty
printers. 

So what I'm saying is that we need a tools interface for calling pretty
printing which is not tied to GDB and available to all tools writers than C++
library writers can write pretty printers for classes that they have which are
not just STL/libstdc+++ classes.

Some of the immediate users that I can think of are TotalView but that already
has its own version of pretty printing but because it is special cased there
are values are limited and stat and possibly the userspace version of
systemtap.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list