binutils-gdb/gdb/python
Phil Muldoon fbb8f2990c 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
* python/python-internal.h (apply_varobj_pretty_printer): Update
	definition.
	(python_string_to_target_python_string): Add definition.
	* python/python-utils.c (unicode_to_encoded_python_string)
	(unicode_to_target_python_string)
	(python_string_to_target_python_string): New Functions.
	* python/python-prettyprint.c (pretty_print_one_value): Likewise.
	(print_string_repr): Refactor to logic to account for PyObject
	returned strings.
	(apply_varobj_pretty_printer): Likewise.
	* python/python-value.c (valpy_string): Parse length keyword. Use
	length keyword in LA_GET_STRING.
	* varobj.c (value_get_print_value): Refactor logic to account for
	PyObject returned strings.
	* c-lang.c (c_get_string): If the length parameter is specified,
	use that. Return value in characters. Update comments.
	* language.h: Update c_get_string prototype comments.

2009-07-10  Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.texinfo (Values From Inferior): Add length parameter
	description.

2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.python/python-prettyprint.c: Add counted null string
	structure.
	* gdb.python/python-prettyprint.exp: Print null string. Test for
	embedded nulls.
	* gdb.python/python-prettyprint.py (pp_ns): New Function.
	* gdb.python/python-value.exp (test_value_in_inferior): Add
	variable length string fetch tests.
	* gdb.python/python-value.c (main): Add strings for string fetch tests.
2009-07-10 10:35:17 +00:00
..
python-cmd.c * python/python-internal.h (struct language_defn): Declare. 2009-07-02 17:04:23 +00:00
python-frame.c
python-function.c * python/python-internal.h (struct language_defn): Declare. 2009-07-02 17:04:23 +00:00
python-internal.h 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> 2009-07-10 10:35:17 +00:00
python-objfile.c * python/python-internal.h (struct language_defn): Declare. 2009-07-02 17:04:23 +00:00
python-prettyprint.c 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> 2009-07-10 10:35:17 +00:00
python-type.c * python/python-internal.h (struct language_defn): Declare. 2009-07-02 17:04:23 +00:00
python-utils.c 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> 2009-07-10 10:35:17 +00:00
python-value.c 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> 2009-07-10 10:35:17 +00:00
python.c * python/python-internal.h (struct language_defn): Declare. 2009-07-02 17:04:23 +00:00
python.h