binutils-gdb/gdb/python
Phil Muldoon 79f283fe85 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.
2010-04-14 12:02:46 +00:00
..
py-block.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-breakpoint.c 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> 2010-04-09 09:41:43 +00:00
py-cmd.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-frame.c 2010-02-28 Phil Muldoon <pmuldoon@redhat.com> 2010-02-28 21:56:50 +00:00
py-function.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-lazy-string.c 2010-04-08 Phil Muldoon <pmuldoon@redhat.com> 2010-04-08 10:47:56 +00:00
py-objfile.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-prettyprint.c 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symtab.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-type.c 2010-02-26 Phil Muldoon <pmuldoon@redhat.com> 2010-02-26 09:08:10 +00:00
py-utils.c gdb 2010-03-05 20:18:19 +00:00
py-value.c 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
python-internal.h 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> 2010-04-09 09:41:43 +00:00
python.c 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> 2010-04-09 09:41:43 +00:00
python.h Allow "source" to load python scripts. 2010-01-18 06:25:22 +00:00