binutils-gdb/gdb/doc
Thiago Jung Bauermann 08c637dee2 gdb/
2009-02-04  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Phil Muldoon  <pmuldoon@redhat.com>

	* python/python-internal.h (gdbpy_get_value_from_history): Rename
	prototype to gdbpy_history.
	(gdbpy_is_string): Declare.
	(python_string_to_host_string): Declare.
	* python/python-utils.c (gdbpy_is_string): New function.
	(unicode_to_encoded_string): New function.
	(unicode_to_target_string): Use it.
	(python_string_to_host_string): New function.
	* python/python-value.c (valpy_address): New function.
	(convert_value_from_python): Use gdbpy_is_string.  Change to throw
	Python exception instead of a GDB exception on error.  Properly check
	Python booleans.
	(valpy_getitem): Convert field name to host string.  Handle array
	accesses.  Adapt to new behaviour of convert_value_from_python.
	(valpy_new): Adapt to new behaviour of convert_value_from_python.
	(enum valpy_opcode) <VALPY_LSH, VALPY_RSH, VALPY_BITAND,
	VALPY_BITXOR, VALPY_BITOR>: New constants.
	(valpy_binop): Update.  Adapt to new behaviour of
	convert_value_from_python.
	(valpy_invert): New function.
	(valpy_lsh): Likewise.
	(valpy_rsh): Likewise.
	(valpy_and): Likewise.
	(valpy_or): Likewise.
	(valpy_xor): Likewise.
	(valpy_richcompare): Call convert_value_from_python instead of doing
	conversions itself.
	(is_intlike, valpy_int, valpy_long, valpy_float): New functions.
	(gdbpy_get_value_from_history): Rename
	function to gdbpy_history.
	(gdbpy_initialize_values): Don't set tp_new.
	(value_object_type): Add valpy_new.
	(value_object_methods): Add `address' entry.
	(value_object_as_number): Update for new methods.
	* python/python.c (GdbMethods): Rename entry from
	`get_value_from_history' to `history'.

gdb/doc/
2009-02-04  Tom Tromey  <tromey@redhat.com>

	* gdb.texinfo (Basic Python): Document gdb.history.

gdb/testsuite/
2009-02-04  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>

	* gdb.python/python-value.exp: Use `gdb.history' instead of
	`gdb.value_from_history'.
	(test_value_numeric_ops): Add test for conversion of enum constant.
	* gdb.python/python-value.c (enum e): New type.
	(evalue): New global.
	(main): Use argv.
2009-02-04 21:55:40 +00:00
..
a4rc.sed
agentexpr.texi * agentexpr.texi: Fix typos. 2007-01-20 16:51:56 +00:00
all-cfg.texi * all-cfg.texi (GDBTUI): New. 2007-05-14 17:53:07 +00:00
annotate.texinfo 2009-01-14 Joseph Myers <joseph@codesourcery.com> 2009-01-14 11:47:07 +00:00
ChangeLog gdb/ 2009-02-04 21:55:40 +00:00
configure 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> 2008-06-05 22:36:57 +00:00
configure.ac 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> 2008-06-05 22:36:57 +00:00
fdl.texi * stabs.texinfo: 2005-12-23 19:26:17 +00:00
gdb.texinfo gdb/ 2009-02-04 21:55:40 +00:00
gdbint.texinfo 2009-01-14 Joseph Myers <joseph@codesourcery.com> 2009-01-14 11:47:07 +00:00
gpl.texi * stabs.texinfo: 2005-12-23 19:26:17 +00:00
lpsrc.sed
LRS
Makefile.in Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
observer.texi Notification for attach/detach. 2008-11-17 12:28:05 +00:00
psrc.sed
refcard.tex Add "make pdf" and "make install-pdf", from Brooks Moses 2007-03-27 18:09:36 +00:00
stabs.texinfo 2009-01-14 Joseph Myers <joseph@codesourcery.com> 2009-01-14 11:47:07 +00:00