This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/14380] Pretty-Printing maps only takes values,interpreted alternating as key and value
- From: "oliver.buchtala at googlemail dot com"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 01 Aug 2012 16:15:39 +0000
- Subject: [Bug python/14380] Pretty-Printing maps only takes values,interpreted alternating as key and value
- Auto-submitted: auto-generated
- References: <bug-14380-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14380
--- Comment #9 from Oliver Buchtala <oliver.buchtala at googlemail dot com> 2012-08-01 16:15:39 UTC ---
> When we looked at this, we judged that it was far simpler both internally
> and for clients to apply special formatting after the fact to rather
> ordinary varobjs, than it was to try to add a special way for some
> varobjs to support non-trivial keys.
>
> If you don't like how this looks in the CLI, simply do not use the "map"
> display hint. The kind of output you are asking for is the default.
Ok. Then just keep it for your records that there is this discrepancy.
Maybe you could complement the documentation about that to have it more clear.
(e.g., add a simple example).
Locally, I established two (mutual exclusive) modes to choose from.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.