New python module gdb.types.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 55bf57a26f763e7f5718ab0bbf2da4c2b3060a9c..b5886ddf250f335c9368e46e16ce3f0a3ce8cf4e 100644 (file)
@@ -1,3 +1,59 @@
+2010-10-13  Tom Tromey  <tromey@redhat.com>
+
+       * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
+
+2010-10-13  Doug Evans  <dje@google.com>
+
+       New python module gdb.types.
+       * NEWS: Document it.
+       * data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py.
+       * python/lib/gdb/types.py: New file.
+
+       * c-typeprint.c: Whitespace cleanup.
+       (cp_type_print_method_args): Remove unnecessary forward decl.
+       (cp_type_print_derivation_info): Ditto.
+       (c_type_print_varspec_prefix): Mark as static at definition.
+       (c_type_print_modifier): Fix arg descriptions.
+
+2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * python/py-breakpoint.c (bppy_set_condition): New comment.
+       * python/py-cmd.c (cmdpy_function): Call also gdbpy_print_stack for
+       failed PyUnicode_Decode.
+       (cmdpy_completer): Skip element for failed
+       python_string_to_host_string.
+       (cmdpy_init): Return -1 on failed python_string_to_host_string.
+       * python/py-frame.c (frapy_read_var): Extend the function comment.
+       * python/py-function.c (fnpy_init): Return -1 on failed
+       python_string_to_host_string.
+       * python/py-inferior.c (infpy_read_memory, infpy_write_memory): Extend
+       the function comment.
+       (infpy_search_memory): Extend the function comment.  Remove the
+       PyErr_SetString call on already set error state.
+       * python/py-param.c (set_parameter_value): Extend the function
+       comment.  Return -1 on failed python_string_to_host_string, twice.
+       (set_attr): Extend the function comment.
+       (compute_enum_values): Extend the function comment.  New variable
+       back_to.  Protect self->enumeration by BACK_TO cleanups.  Return 0 on
+       failed python_string_to_host_string.
+       (get_doc_string): Call gdbpy_print_stack on failed
+       python_string_to_host_string.
+       (parmpy_init): Extend the function comment.
+       * python/py-prettyprint.c (pretty_print_one_value): Likewise.
+       (gdbpy_get_display_hint, print_children): Call gdbpy_print_stack on
+       failed python_string_to_host_string.
+       * python/py-value.c (valpy_new, valpy_getitem, valpy_call)
+       (valpy_binop, valpy_richcompare): Extend the function comment.
+       * python/python.c
+       (struct python_env) <error_type, error_value, error_traceback>: New
+       fields.
+       (restore_python_env): Handle PyErr_Occurred.  Call PyErr_Restore.
+       (ensure_python_env): Call PyErr_Fetch.
+       * varobj.c (update_dynamic_varobj_children): Call gdbpy_print_stack on
+       failed convert_value_from_python.
+       (value_get_print_value): Call gdbpy_print_stack on failed
+       python_string_to_target_python_string.
+
 2010-10-12  Tom Tromey  <tromey@redhat.com>
 
        * python/py-prettyprint.c (search_pp_list): Fix error checking.
This page took 0.024289 seconds and 4 git commands to generate.