![]() 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. |
||
---|---|---|
.. | ||
py-block.c | ||
py-breakpoint.c | ||
py-cmd.c | ||
py-frame.c | ||
py-function.c | ||
py-lazy-string.c | ||
py-objfile.c | ||
py-prettyprint.c | ||
py-symbol.c | ||
py-symtab.c | ||
py-type.c | ||
py-utils.c | ||
py-value.c | ||
python-internal.h | ||
python.c | ||
python.h |