This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/18299] exception when registering a global pretty-printer in verbose mode


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]