This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PR python/18299] Fix.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Cc: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- Date: Tue, 28 Apr 2015 22:20:36 -0700
- Subject: Re: [PATCH] [PR python/18299] Fix.
- Authentication-results: sourceware.org; auth=none
- References: <yjt2r3rcufd9 dot fsf at ruffy dot mtv dot corp dot google dot com>
On Wed, Apr 22, 2015 at 12:34 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This patch is based on the one posted here:
>
> https://sourceware.org/ml/gdb-patches/2015-03/msg00312.html
>
> I found a couple more issues and fixed them as well.
>
> I plan to push this to the 7.9.1 branch as well as trunk.
>
> 2015-04-22 Martin Galvan <martin.galvan@tallertechnologies.com>
> Doug Evans <dje@google.com>
>
> PR python/18299
> * python/lib/gdb/printing.py (register_pretty_printer): Handle
> name or __name__ attributes. Handle gdb module as first argument.
>
> testsuite/
> * 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.
Committed.