old-cross-binutils/gdb/testsuite
Tom Tromey 2c74e83381 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>

	* python/python.c (_initialize_python): Call
	gdbpy_initialize_types.
	(GdbMethods): Add "lookup_type".
	* python/python-value.c (value_object) <type>: New field.
	(valpy_dealloc): Decref type.
	(valpy_new): Initialize type.
	(valpy_get_type): New function.
	(value_to_value_object): Initialize type.
	(valpy_cast): New function.
	(value_object_getset): Add "type".
	(value_object_methods): Add "cast".
	* python/python-internal.h (type_to_type_object): Declare.
	(type_object_to_type): Likewise.
	(gdbpy_initialize_types): Likewise.
	(gdbpy_lookup_type): Declare.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-type.o.
	(SUBDIR_PYTHON_SRCS): Add python-type.c.
	(python-type.o): New target.
	* python/python-type.c: New file.

gdb/doc

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

	* gdb.texinfo (Types In Python): New node.
	(Values From Inferior): "type" is now an attribute.
	(Python API): Update.


gdb/testsuite

2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Tom Tromey  <tromey@redhat.com>
	    Pedro Alves  <pedro@codesourcery.com>
	    Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.python/python-template.exp: New file.
	* gdb.python/python-template.cc: New file.
	* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
	tests.
	* gdb.python/python-value.exp (py_objfile_tests): New proc.
	Call it.
	(test_value_after_death): New proc.
	* gdb.python/python-value.c (PTR): New typedef.
	(main): New variable 'x'.
2009-05-28 00:47:20 +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-17 19:20:33 +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 00:47:20 +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 00:47:20 +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