public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/29186] New: Get the output format of the current print command for pretty printer
@ 2022-05-26 0:40 shihyente at hotmail dot com
2022-06-05 16:19 ` [Bug python/29186] " tromey at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: shihyente at hotmail dot com @ 2022-05-26 0:40 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29186
Bug ID: 29186
Summary: Get the output format of the current print command for
pretty printer
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: shihyente at hotmail dot com
Target Milestone: ---
Hi,
This request is actually the same with this stackoverflow ticket:
https://stackoverflow.com/questions/71704359/how-does-gdb-pretty-printer-know-the-output-format-the-user-is-requesting
I am unable to use the children APIs because our structure is big which needs
some kinds of special formatting.
And, the users want to use p/x to switch from decimal to hexadecimal.
Could we have a way to get the chosen print format by a python API?
Thank you very much.
Best,
John
--
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/29186] Get the output format of the current print command for pretty printer
2022-05-26 0:40 [Bug python/29186] New: Get the output format of the current print command for pretty printer shihyente at hotmail dot com
@ 2022-06-05 16:19 ` tromey at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-06-05 16:19 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29186
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This is a dup; but agreed that this would be a good addition.
*** This bug has been marked as a duplicate of bug 17291 ***
--
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-05 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26 0:40 [Bug python/29186] New: Get the output format of the current print command for pretty printer shihyente at hotmail dot com
2022-06-05 16:19 ` [Bug python/29186] " 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).