public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines
@ 2015-01-01  0:00 ooprala at redhat dot com
  2015-01-01  0:00 ` [Bug default/18916] " ooprala at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ooprala at redhat dot com @ 2015-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 18916
           Summary: libabigail should provide gdb pretty printers for the
                    types it defines
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: ooprala at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/18916] libabigail should provide gdb pretty printers for the types it defines
  2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
  2015-01-01  0:00 ` [Bug default/18916] " ooprala at redhat dot com
@ 2015-01-01  0:00 ` woodard at redhat dot com
  2015-01-01  0:00 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2015-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |woodard at redhat dot com

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
Can I say that this is a bigger problem which probably needs a bigger solution.
Right now GDB is the only application that can access the python pretty
printers for types. However, as the range of tools diversifies many more
applications will need pretty printers. So I would argue that what needs to
happen is the python pretty printer framework needs to be abstracted in such a
way that it is not only useful for GDB but for tools in general.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/18916] libabigail should provide gdb pretty printers for the types it defines
  2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
  2015-01-01  0:00 ` [Bug default/18916] " ooprala at redhat dot com
  2015-01-01  0:00 ` woodard at redhat dot com
@ 2015-01-01  0:00 ` woodard at redhat dot com
  2015-01-01  0:00 ` ooprala at redhat dot com
  2016-01-01  0:00 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2015-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/18916] libabigail should provide gdb pretty printers for the types it defines
  2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
                   ` (2 preceding siblings ...)
  2015-01-01  0:00 ` woodard at redhat dot com
@ 2015-01-01  0:00 ` ooprala at redhat dot com
  2016-01-01  0:00 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ooprala at redhat dot com @ 2015-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

--- Comment #3 from Ondrej Oprala <ooprala at redhat dot com> ---
Thanks for clarifying. I didn't realize the scope of pretty printing...I like
this a lot.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/18916] libabigail should provide gdb pretty printers for the types it defines
  2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
@ 2015-01-01  0:00 ` ooprala at redhat dot com
  2015-01-01  0:00 ` woodard at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ooprala at redhat dot com @ 2015-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

Ondrej Oprala <ooprala at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|dodji at redhat dot com            |ooprala at redhat dot com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/18916] libabigail should provide gdb pretty printers for the types it defines
  2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
                   ` (3 preceding siblings ...)
  2015-01-01  0:00 ` ooprala at redhat dot com
@ 2016-01-01  0:00 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dodji at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at redhat dot com
           Severity|normal                      |enhancement

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-09  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-01  0:00 [Bug default/18916] New: libabigail should provide gdb pretty printers for the types it defines ooprala at redhat dot com
2015-01-01  0:00 ` [Bug default/18916] " ooprala at redhat dot com
2015-01-01  0:00 ` woodard at redhat dot com
2015-01-01  0:00 ` woodard at redhat dot com
2015-01-01  0:00 ` ooprala at redhat dot com
2016-01-01  0:00 ` dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).