This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/17529] Need to better specify contract between MI and pretty-printers
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 27 Feb 2015 22:02:50 +0000
- Subject: [Bug python/17529] Need to better specify contract between MI and pretty-printers
- Auto-submitted: auto-generated
- References: <bug-17529-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17529
--- Comment #1 from dje at google dot com ---
Another issue:
GDB ignores the name in the (name, tuple) passed back if display_hint is
'array'. However, Eclipse at least is using this name.
Since gdb was ignoring the name I just set name to 'ignore' in my
pretty-printer.
But then I started seeing Eclipse print 'ignore' instead of the expected '[0]'.
I'm also seeing Eclipse try to do
-var-create - * &(((v).[0]).str)
on an stl vector of a class with member "str".
Note the additional ".".
Possibly an Eclipse bug of course.
--
You are receiving this mail because:
You are on the CC list for the bug.