public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug mi/31063] New: Feature request: print raw types/omit types in -var-list-children @ 2023-11-13 14:33 dmitry.neverov at jetbrains dot com 2023-11-14 2:51 ` [Bug mi/31063] " tromey at sourceware dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: dmitry.neverov at jetbrains dot com @ 2023-11-13 14:33 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31063 Bug ID: 31063 Summary: Feature request: print raw types/omit types in -var-list-children Product: gdb Version: 13.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: mi Assignee: unassigned at sourceware dot org Reporter: dmitry.neverov at jetbrains dot com Target Milestone: --- -var-list-children replace_typedefs() in type names which makes it slow when debug info is big (https://sourceware.org/bugzilla/show_bug.cgi?id=30520). When type_print() uses type_print_raw_options instead of default_ptype_flags in typeprint.c the command is fast again. But there is no option to make it use type_print_raw_options from gdb/mi. Please add an option to use type_print_raw_options for types in the gdb/mi output. And also an option to omit types completely - it is useful when gdb frontend doesn't show types at all. -- 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 mi/31063] Feature request: print raw types/omit types in -var-list-children 2023-11-13 14:33 [Bug mi/31063] New: Feature request: print raw types/omit types in -var-list-children dmitry.neverov at jetbrains dot com @ 2023-11-14 2:51 ` tromey at sourceware dot org 2023-11-14 9:46 ` dmitry.neverov at jetbrains dot com 2024-02-16 4:53 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2023-11-14 2:51 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31063 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org Last reconfirmed| |2023-11-14 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- Seems reasonable. Note though that varobj doesn't get a lot of love. -- 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 mi/31063] Feature request: print raw types/omit types in -var-list-children 2023-11-13 14:33 [Bug mi/31063] New: Feature request: print raw types/omit types in -var-list-children dmitry.neverov at jetbrains dot com 2023-11-14 2:51 ` [Bug mi/31063] " tromey at sourceware dot org @ 2023-11-14 9:46 ` dmitry.neverov at jetbrains dot com 2024-02-16 4:53 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: dmitry.neverov at jetbrains dot com @ 2023-11-14 9:46 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31063 --- Comment #2 from Dmitry Neverov <dmitry.neverov at jetbrains dot com> --- > Note though that varobj doesn't get a lot of love. What is the preferrable way to do that in a gdb frontend? Python API? -- 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 mi/31063] Feature request: print raw types/omit types in -var-list-children 2023-11-13 14:33 [Bug mi/31063] New: Feature request: print raw types/omit types in -var-list-children dmitry.neverov at jetbrains dot com 2023-11-14 2:51 ` [Bug mi/31063] " tromey at sourceware dot org 2023-11-14 9:46 ` dmitry.neverov at jetbrains dot com @ 2024-02-16 4:53 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2024-02-16 4:53 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31063 --- Comment #3 from Tom Tromey <tromey at sourceware dot org> --- If you're using MI, then AFAIK varobj is the way to go. I just mean, the varobj code is kind of gross and some parts of the design are bad; and nobody really works actively on it. You could maybe get away with custom Python commands now. We pretty much took that approach for DAP. -- 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:[~2024-02-16 4:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-11-13 14:33 [Bug mi/31063] New: Feature request: print raw types/omit types in -var-list-children dmitry.neverov at jetbrains dot com 2023-11-14 2:51 ` [Bug mi/31063] " tromey at sourceware dot org 2023-11-14 9:46 ` dmitry.neverov at jetbrains dot com 2024-02-16 4:53 ` 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).