This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/18299] exception when registering a global pretty-printer in verbose mode
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 29 Apr 2015 05:17:02 +0000
- Subject: [Bug python/18299] exception when registering a global pretty-printer in verbose mode
- Auto-submitted: auto-generated
- References: <bug-18299-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18299
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Doug Evans <devans@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34f5f757b389e8fb3eab64f816e484c2cc434292
commit 34f5f757b389e8fb3eab64f816e484c2cc434292
Author: Doug Evans <dje@google.com>
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.