This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/17529] Need to better specify contract between MI and pretty-printers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]