public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/15699] New: pretty-printed structs don't obey "set print frame-arg scalars"
@ 2013-06-27 22:05 dje at google dot com
  2022-06-06 23:14 ` [Bug python/15699] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dje at google dot com @ 2013-06-27 22:05 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 15699
           Summary: pretty-printed structs don't obey "set print frame-arg
                    scalars"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

If a struct has a pretty-printer, and the pretty-printer is enabled, then the
struct is printed for frame arguments when "set print frame-arg scalars" is
set.
pretty-printing of structs should obey "set print frame-arg scalars".

Implementation suggestion:
IWBN if gdb handled this instead of the pretty-printer.

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


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

* [Bug python/15699] pretty-printed structs don't obey "set print frame-arg scalars"
  2013-06-27 22:05 [Bug python/15699] New: pretty-printed structs don't obey "set print frame-arg scalars" dje at google dot com
@ 2022-06-06 23:14 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-06-06 23:14 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I think what happens is the summary (the result of to_string) is
printed, followed by " = {...}".  This seems like a good approach
to me, since it lets the pretty-printers partly decide what to do
in summary mode.

So, I'm going to close this.

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

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

end of thread, other threads:[~2022-06-06 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 22:05 [Bug python/15699] New: pretty-printed structs don't obey "set print frame-arg scalars" dje at google dot com
2022-06-06 23:14 ` [Bug python/15699] " tromey at sourceware 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).