From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97283 invoked by alias); 27 Feb 2015 22:02:52 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 97246 invoked by uid 48); 27 Feb 2015 22:02:51 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug python/17529] Need to better specify contract between MI and pretty-printers Date: Fri, 27 Feb 2015 22:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00330.txt.bz2 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.