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:45:52 +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 #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.9-branch branch has been updated by Doug Evans
<devans@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7d4281ee53df975135c132970e053a74bb18877a
commit 7d4281ee53df975135c132970e053a74bb18877a
Author: Doug Evans <dje@google.com>
Date: Tue Apr 28 22:43:26 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.