From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42698 invoked by alias); 29 Apr 2015 05:17:03 -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 42677 invoked by uid 55); 29 Apr 2015 05:17:03 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/18299] exception when registering a global pretty-printer in verbose mode Date: Wed, 29 Apr 2015 05:17: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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org 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: 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/msg00178.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18299 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Doug Evans : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34f5f757b389e8fb3eab64f816e484c2cc434292 commit 34f5f757b389e8fb3eab64f816e484c2cc434292 Author: Doug Evans Date: Tue Apr 28 22:14:23 2015 -0700 PR python/18299 gdb/ChangeLog: PR python/18299 * python/lib/gdb/printing.py (register_pretty_printer): Handle name or __name__ attributes. Handle gdb module as first argument. gdb/testsuite/ChangeLog: * gdb.python/py-pp-maint.py: Move "replace" testing to ... * gdb.python/py-pp-registration.exp: ... here. New file. * gdb.python/py-pp-registration.c: New file. * gdb.python/py-pp-registration.py: New file. -- You are receiving this mail because: You are on the CC list for the bug.