8sa1-binutils-gdb/gdb/testsuite
Tom Tromey a6bac58e84 gdb
2009-05-27  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Phil Muldoon  <pmuldoon@redhat.com>
	    Paul Pluzhnikov  <ppluzhnikov@google.com>
	    Vladimir Prus  <vladimir@codesourcery.com>

	* python/python-value.c (value_object_to_value): New function.
	* python/python-internal.h: Include frameobject.h.
	(gdbpy_children_cst, gdbpy_to_string_cst, gdbpy_display_hint_cst):
	Declare.
	(value_object_to_value): Declare.
	* printcmd.c (struct format_data) <raw>: New field.
	(last_format): Default to 0.
	(decode_format): Initialize val.raw.  Handle /r flag.
	(print_command_1): Initialize fmt.raw and opts.raw.
	(output_command): Likewise.
	(x_command): Fix initialization of fmt.format.  Initialize
	fmt.raw.
	(display_command): Initialize fmt.raw.
	(do_one_display): Set opts.raw.
	* python/python.c (gdbpy_to_string_cst, gdbpy_children_cst,
	gdbpy_display_hint_cst): New globals.
	(_initialize_python): Initialize them.  Set gdb.pretty_printers.
	* cp-valprint.c: Include python.h.
	(cp_print_value): Call apply_val_pretty_printer.
	* python/python.h (apply_val_pretty_printer): Declare.
	* stack.c (print_this_frame_argument_p): Remove.
	(print_frame_args): Compute summary flag.  Don't use
	print_this_frame_argument_p.
	* valprint.c: Include python.h.
	(user_print_options): Initialize new fields.
	(scalar_type_p): New function.
	(val_print): Handle 'raw' and 'summary' modes.  Call
	apply_val_pretty_printer.
	(value_print): Handle 'raw' mode.
	* valprint.h (struct value_print_options) <raw, summary>: New
	fields.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-prettyprint.o
	(SUBDIR_PYTHON_SRCS): Add python-prettyprint.c.
	(python-prettyprint.o): New target.
	* python/python-prettyprint.c: New file.

gdb/doc

2009-05-27  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.texinfo (Objfiles In Python): Reference pretty printing.
	(Pretty Printing): New node.
	(Selecting Pretty-Printers): Likewise.
	(Python API): Update.
	(Output Formats): Document /r format.

gdb/testsuite

2009-05-27  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Phil Muldoon  <pmuldoon@redhat.com>
	    Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.python/python-prettyprint.exp: New file.
	* gdb.python/python-prettyprint.c: New file.
	* gdb.python/python-prettyprint.py: New file.
	* gdb.base/display.exp: print/r is now valid.
2009-05-28 01:05:14 +00:00
..
config Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.ada * gdb.base/funcargs.exp: Set print frame-arguments to "all". 2009-04-01 22:08:03 +00:00
gdb.arch * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line. 2009-03-29 14:52:54 +00:00
gdb.asm gdb/ 2009-05-18 13:25:35 +00:00
gdb.base gdb 2009-05-28 01:05:14 +00:00
gdb.cp gdb/ 2009-05-11 15:05:56 +00:00
gdb.disasm Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.dwarf2 gdb/ 2009-05-21 07:15:47 +00:00
gdb.fortran gdb/ 2009-02-12 09:15:07 +00:00
gdb.gdb * observer.c (observer_test_first_notification_function) 2009-02-17 19:52:27 +00:00
gdb.hp Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.java Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.mi gdb/ 2009-05-27 19:44:53 +00:00
gdb.modula2 Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.objc Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.opt Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.pascal * gdb.pascal/floats.exp: Accept approximate results everywhere. 2009-02-18 14:46:14 +00:00
gdb.python gdb 2009-05-28 01:05:14 +00:00
gdb.server * gdb.base/attach.exp: Re-enable for spu*-*-* targets. 2009-04-03 14:37:04 +00:00
gdb.stabs Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.threads gdb/ 2009-05-24 18:00:08 +00:00
gdb.trace 2009-03-30 Stan Shebs <stan@codesourcery.com> 2009-03-31 05:08:37 +00:00
gdb.xml Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
lib * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case. 2009-04-22 19:46:19 +00:00
.gdbinit
aclocal.m4
ChangeLog gdb 2009-05-28 01:05:14 +00:00
configure * configure.ac: Output gdb.python/Makefile. 2008-10-19 19:59:31 +00:00
configure.ac * configure.ac: Output gdb.python/Makefile. 2008-10-19 19:59:31 +00:00
Makefile.in Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
TODO