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/18089] py-prettyprint.c:print_children doesn't verify the result of the children iterator is a tuple


https://sourceware.org/bugzilla/show_bug.cgi?id=18089

--- Comment #1 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=69b4374a87e5029ac4831c7a4471815514df662f

commit 69b4374a87e5029ac4831c7a4471815514df662f
Author: Doug Evans <dje@google.com>
Date:   Tue Apr 28 21:53:54 2015 -0700

    PR python/18089

    gdb/ChangeLog:

        PR python/18089
        * python/py-prettyprint.c (print_children): Verify result of children
        iterator.  Provide better error message.
        * python/python-internal..h (gdbpy_print_python_errors_p): Declare.
        * python/python.c (gdbpy_print_python_errors_p): New function.

    gdb/testsuite/ChangeLog:

        * gdb.python/py-bad-printers.c: New file.
        * gdb.python/py-bad-printers.py: New file.
        * gdb.python/py-bad-printers.exp: 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]