From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58840 invoked by alias); 1 Jun 2015 19:02:36 -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 58807 invoked by uid 48); 1 Jun 2015 19:02:35 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug python/17136] 'info type-printers' causes an exception when there are per-objfile printers Date: Mon, 01 Jun 2015 19:02: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.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-q2/txt/msg00351.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17136 dje at google dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dje at google dot com --- Comment #4 from dje at google dot com --- Hmmm, I would have expected to see objfile.name, or the correct objfile.filename, in more places in type_printers.py. Alas instead of being consistent with pretty-printers, type-printers have invented a new syntax for the info/enable/disable trio. All the more reason to put all of this under one piece of common code used by everyone (pretty-printers, type-printers, xmethods, and so on). See, e.g., https://sourceware.org/ml/gdb-patches/2015-04/msg00006.html -- You are receiving this mail because: You are on the CC list for the bug.