public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/10662] New: Feature regression with pretty printed types
@ 2009-09-18 20:06 alexl at redhat dot com
  2009-09-18 20:11 ` [Bug python/10662] " tromey at redhat dot com
  0 siblings, 1 reply; 4+ messages in thread
From: alexl at redhat dot com @ 2009-09-18 20:06 UTC (permalink / raw)
  To: gdb-prs

With no pretty printer a pointer variable is shown differently in a backtrace
and when its printer. For instance:
#11 0xf5299998 in g_main_context_iterate (context=0x6dd490,...) at gmain.c:2591
(gdb) p context
$4 = (GMainContext *) 0x6dd490

However, if i add a pretty printer for a pointer type this disappears. For
instance, here is a pretty printer that adds runtime type info:
(gdb) p/r widget
$2 = (GtkWidget *) 0x73e040
(gdb) p widget
$3 = 0x73e040 [GeditWindow]

I could add the defined type in the pretty printer, but then it would also
always be visible in the backtraces. I would like to get some kind of flag to
the to_string() method (or maybe an additional optional method) so i can decide
which version to return.

-- 
           Summary: Feature regression with pretty printed types
           Product: gdb
           Version: archer
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: alexl at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10662

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug python/10662] Feature regression with pretty printed types
  2009-09-18 20:06 [Bug python/10662] New: Feature regression with pretty printed types alexl at redhat dot com
@ 2009-09-18 20:11 ` tromey at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2009-09-18 20:11 UTC (permalink / raw)
  To: gdb-prs



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


http://sourceware.org/bugzilla/show_bug.cgi?id=10662

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug python/10662] Feature regression with pretty printed types
       [not found] <bug-10662-4717@http.sourceware.org/bugzilla/>
  2020-11-24  3:37 ` jackmarrow35 at gmail dot com
@ 2020-11-24 22:53 ` mark at klomp dot org
  1 sibling, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-11-24 22:53 UTC (permalink / raw)
  To: gdb-prs

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

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

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

* [Bug python/10662] Feature regression with pretty printed types
       [not found] <bug-10662-4717@http.sourceware.org/bugzilla/>
@ 2020-11-24  3:37 ` jackmarrow35 at gmail dot com
  2020-11-24 22:53 ` mark at klomp dot org
  1 sibling, 0 replies; 4+ messages in thread
From: jackmarrow35 at gmail dot com @ 2020-11-24  3:37 UTC (permalink / raw)
  To: gdb-prs

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

Jack Marrow <jackmarrow35 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackmarrow35 at gmail dot com

--- Comment #3 from Jack Marrow <jackmarrow35 at gmail dot com> ---
Didn't knew this bug in 2009 will still be a thing today. Thanks for
clarifying.

JM | <a href="https://www.roofingrepairstauranga.kiwi/">roof maintaning</a>

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

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

end of thread, other threads:[~2020-11-24 22:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 20:06 [Bug python/10662] New: Feature regression with pretty printed types alexl at redhat dot com
2009-09-18 20:11 ` [Bug python/10662] " tromey at redhat dot com
     [not found] <bug-10662-4717@http.sourceware.org/bugzilla/>
2020-11-24  3:37 ` jackmarrow35 at gmail dot com
2020-11-24 22:53 ` mark at klomp dot org

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).