This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Pushed: [RFA/Python] Make regexp collection printers work with typedefs as well.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 26 Feb 2014 11:07:51 -0800
- Subject: Pushed: [RFA/Python] Make regexp collection printers work with typedefs as well.
- Authentication-results: sourceware.org; auth=none
- References: <1391053496-13096-1-git-send-email-brobecker at adacore dot com>
> gdb/ChangeLog:
>
> * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
> Use the type's name if its basic type does not have a tag.
>
> gdb/testsuite/ChangeLog:
>
> * testsuite/gdb.python/py-pp-re-notag.c: New file.
> * testsuite/gdb.python/py-pp-re-notag.ex: New file.
> * testsuite/gdb.python/py-pp-re-notag.p: New file.
FYI: I've pushed this patch.
Thank you,
--
Joel