public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/17291] New: IWBN if the print format was available to pretty-printers.
@ 2014-08-19 16:33 dje at google dot com
2022-06-05 16:19 ` [Bug python/17291] " tromey at sourceware dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dje at google dot com @ 2014-08-19 16:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
Bug ID: 17291
Summary: IWBN if the print format was available to
pretty-printers.
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
IWBN if pretty-printers had access to the print options (struct
value_print_options).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
@ 2022-06-05 16:19 ` tromey at sourceware dot org
2022-06-07 15:29 ` tromey at sourceware dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ 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=17291
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shihyente at hotmail dot com
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
*** Bug 29186 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
2022-06-05 16:19 ` [Bug python/17291] " tromey at sourceware dot org
@ 2022-06-07 15:29 ` tromey at sourceware dot org
2022-07-15 15:28 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2022-06-07 15:29 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
CC| |tromey at sourceware dot org
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I have a patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
2022-06-05 16:19 ` [Bug python/17291] " tromey at sourceware dot org
2022-06-07 15:29 ` tromey at sourceware dot org
@ 2022-07-15 15:28 ` cvs-commit at gcc dot gnu.org
2022-07-15 15:29 ` tromey at sourceware dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-07-15 15:28 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c4a3dbaf1132105586586617a59d0e7566eefd41
commit c4a3dbaf1132105586586617a59d0e7566eefd41
Author: Tom Tromey <tromey@adacore.com>
Date: Mon Jun 6 09:54:45 2022 -0600
Expose current 'print' settings to Python
PR python/17291 asks for access to the current print options. While I
think this need is largely satisfied by the existence of
Value.format_string, it seemed to me that a bit more could be done.
First, while Value.format_string uses the user's settings, it does not
react to temporary settings such as "print/x". This patch changes
this.
Second, there is no good way to examine the current settings (in
particular the temporary ones in effect for just a single "print").
This patch adds this as well.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
` (2 preceding siblings ...)
2022-07-15 15:28 ` cvs-commit at gcc dot gnu.org
@ 2022-07-15 15:29 ` tromey at sourceware dot org
2022-08-30 2:28 ` shihyente at hotmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2022-07-15 15:29 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |13.1
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
` (3 preceding siblings ...)
2022-07-15 15:29 ` tromey at sourceware dot org
@ 2022-08-30 2:28 ` shihyente at hotmail dot com
2023-07-21 7:55 ` shihyente at hotmail dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: shihyente at hotmail dot com @ 2022-08-30 2:28 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #5 from YEN-TE SHIH <shihyente at hotmail dot com> ---
Will this have documentation or sample code?
Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
` (4 preceding siblings ...)
2022-08-30 2:28 ` shihyente at hotmail dot com
@ 2023-07-21 7:55 ` shihyente at hotmail dot com
2023-07-21 12:22 ` tromey at sourceware dot org
2023-07-21 14:14 ` shihyente at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: shihyente at hotmail dot com @ 2023-07-21 7:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #6 from YEN-TE SHIH <shihyente at hotmail dot com> ---
(In reply to Tom Tromey from comment #4)
> Fixed.
Hi Tom,
Is it available now in 13.2? Is there any documentation about how to use it?
Thank you very much.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
` (5 preceding siblings ...)
2023-07-21 7:55 ` shihyente at hotmail dot com
@ 2023-07-21 12:22 ` tromey at sourceware dot org
2023-07-21 14:14 ` shihyente at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2023-07-21 12:22 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to YEN-TE SHIH from comment #6)
> Is it available now in 13.2? Is there any documentation about how to use it?
Yes, this was in the 13.1 release.
The new facility is documented in the manual.
Here's a link to just the manual part of the patch:
https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff;f=gdb/doc/python.texi;h=4573ba677341dee63e94462a5897c2d65b07bd31;hp=19ae33012c30cb5784549668a4754636da26b3be;hb=c4a3dbaf1132105586586617a59d0e7566eefd41;hpb=aa63b0a77e193b5181390f19465f33c314d0490e
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug python/17291] IWBN if the print format was available to pretty-printers.
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
` (6 preceding siblings ...)
2023-07-21 12:22 ` tromey at sourceware dot org
@ 2023-07-21 14:14 ` shihyente at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: shihyente at hotmail dot com @ 2023-07-21 14:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #8 from YEN-TE SHIH <shihyente at hotmail dot com> ---
Thank you!
________________________________
From: tromey at sourceware dot org <sourceware-bugzilla@sourceware.org>
Sent: Friday, July 21, 2023 20:22
To: shihyente@hotmail.com <shihyente@hotmail.com>
Subject: [Bug python/17291] IWBN if the print format was available to
pretty-printers.
https://sourceware.org/bugzilla/show_bug.cgi?id=17291
--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to YEN-TE SHIH from comment #6)
> Is it available now in 13.2? Is there any documentation about how to use it?
Yes, this was in the 13.1 release.
The new facility is documented in the manual.
Here's a link to just the manual part of the patch:
https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff;f=gdb/doc/python.texi;h=4573ba677341dee63e94462a5897c2d65b07bd31;hp=19ae33012c30cb5784549668a4754636da26b3be;hb=c4a3dbaf1132105586586617a59d0e7566eefd41;hpb=aa63b0a77e193b5181390f19465f33c314d0490e
--
You are receiving this mail because:
You are on the CC list for the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-07-21 14:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 16:33 [Bug python/17291] New: IWBN if the print format was available to pretty-printers dje at google dot com
2022-06-05 16:19 ` [Bug python/17291] " tromey at sourceware dot org
2022-06-07 15:29 ` tromey at sourceware dot org
2022-07-15 15:28 ` cvs-commit at gcc dot gnu.org
2022-07-15 15:29 ` tromey at sourceware dot org
2022-08-30 2:28 ` shihyente at hotmail dot com
2023-07-21 7:55 ` shihyente at hotmail dot com
2023-07-21 12:22 ` tromey at sourceware dot org
2023-07-21 14:14 ` shihyente at hotmail 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).