diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2010-04-14 12:02:46 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2010-04-14 12:02:46 +0000 |
commit | 79f283fe85c2bc28eb97695c591e3c95423a32c8 (patch) | |
tree | 6c049ff109642b7f44397fd3977465e7193c02af /ltgcc.m4 | |
parent | d594eacc9ee9f3135b25e86834ef271d68ed0bd2 (diff) | |
download | gdb-79f283fe85c2bc28eb97695c591e3c95423a32c8.zip gdb-79f283fe85c2bc28eb97695c591e3c95423a32c8.tar.gz gdb-79f283fe85c2bc28eb97695c591e3c95423a32c8.tar.bz2 |
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
PR python/11381
* python/py-prettyprint.c (pretty_print_one_value): Test for
Py_None.
(print_string_repr): Test for Py_None. Set flags accordingly.
Return value depending on return type.
(print_children): Take a value indicating whether data was printed
before this function was called. Alter output accordingly.
(apply_val_pretty_printer): Capture return value from
print_string_repr and pass to print_children.
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
* gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
* gdb.python/py-prettyprint.exp: New test for to_string returning None.
* gdb.python/py-mi.exp: New test for to_string returning None.
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Pretty Printing): Document behaviour when to_string
returns None.
Diffstat (limited to 'ltgcc.m4')
0 files changed, 0 insertions, 0 deletions