Add support for inlining scripts into .debug_gdb_scripts.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index af5da9bfb0d8ce855dba1b3a842c9058a7bd8660..111cc457f42f22ada21e06971fb36b66d3e1a7bd 100644 (file)
@@ -1,3 +1,137 @@
+2015-01-31  Doug Evans  <xdje42@gmail.com>
+
+       * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
+       * auto-load.c: #include ctype.h.
+       (struct auto_load_pspace_info): Replace member loaded_scripts with
+       new members loaded_script_files, loaded_script_texts.
+       (auto_load_pspace_data_cleanup): Update.
+       (init_loaded_scripts_info): Update.
+       (get_auto_load_pspace_data_for_loading): Update.
+       (maybe_add_script_file): Renamed from maybe_add_script.  All callers
+       updated.
+       (maybe_add_script_text): New function.
+       (clear_section_scripts): Update.
+       (source_script_file, execute_script_contents): New functions.
+       (source_section_scripts): Add support for
+       SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
+       (print_scripts): New function.
+       (auto_load_info_scripts): Also print inlined scripts.
+       (maybe_print_unsupported_script_warning): Renamed from
+       unsupported_script_warning_print.  All callers updated.
+       (maybe_print_script_not_found_warning): Renamed from
+       script_not_found_warning_print.  All callers updated.
+       * extension-priv.h (struct extension_language_script_ops): New member
+       objfile_script_executor.
+       * extension.c (ext_lang_objfile_script_executor): New function.
+       * extension.h (objfile_script_executor_func): New typedef.
+       (ext_lang_objfile_script_executor): Declare.
+       * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
+       * guile/guile.c (guile_extension_script_ops): Update.
+       * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
+       * python/python.c (python_extension_script_ops): Update.
+       (gdbpy_execute_objfile_script): New function.
+
+2015-01-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * tui/tui-io.c (tui_expand_tabs): New function.
+       (tui_puts, tui_redisplay_readline): Expand TABs into the
+       appropriate number of spaces.
+       * tui/tui-regs.c: Include tui-io.h.
+       (tui_register_format): Call tui_expand_tabs to expand TABs into
+       the appropriate number of spaces.
+       * tui/tui-io.h: Add prototype for tui_expand_tabs.
+
+2015-01-30  Doug Evans  <dje@google.com>
+
+       * NEWS: "info source" command now display producer string if present.
+       * source.c (source_info): Print producer string if present.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * varobj.c (varobj_delete): Fix comment.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * varobj.c (create_child): Modify comment.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-varobj.c (ada_number_of_children): Constify struct varobj *
+       parameter.
+       (ada_name_of_variable): Same.
+       (ada_path_expr_of_child): Same.
+       (ada_value_of_variable): Same.
+       (ada_value_is_changeable_p): Same.
+       (ada_value_has_mutated): Same.
+       * c-varobj.c (varobj_is_anonymous_child): Same.
+       (c_is_path_expr_parent): Same.
+       (c_number_of_children): Same.
+       (c_name_of_variable): Same.
+       (c_path_expr_of_child): Same.
+       (get_type): Same.
+       (c_value_of_variable): Same.
+       (cplus_number_of_children): Same.
+       (cplus_name_of_variable): Same.
+       (cplus_path_expr_of_child): Same.
+       (cplus_value_of_variable): Same.
+       * jv-varobj.c (java_number_of_children): Same.
+       (java_name_of_variable): Same.
+       (java_path_expr_of_child): Same.
+       (java_value_of_variable): Same.
+       * varobj.c (number_of_children): Same.
+       (name_of_variable): Same.
+       (is_root_p): Same.
+       (varobj_ensure_python_env): Same.
+       (varobj_get_objname): Same.
+       (varobj_get_expression): Same.
+       (varobj_get_display_format): Same.
+       (varobj_get_display_hint): Same.
+       (varobj_has_more): Same.
+       (varobj_get_thread_id): Same.
+       (varobj_get_frozen): Same.
+       (dynamic_varobj_has_child_method): Same.
+       (varobj_get_gdb_type): Same.
+       (is_path_expr_parent): Same.
+       (varobj_default_is_path_expr_parent): Same.
+       (varobj_get_language): Same.
+       (varobj_get_attributes): Same.
+       (varobj_is_dynamic_p): Same.
+       (varobj_get_child_range): Same.
+       (varobj_value_has_mutated): Same.
+       (varobj_get_value_type): Same.
+       (number_of_children): Same.
+       (name_of_variable): Same.
+       (check_scope): Same.
+       (varobj_editable_p): Same.
+       (varobj_value_is_changeable_p): Same.
+       (varobj_floating_p): Same.
+       (varobj_default_value_is_changeable_p): Same.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * varobj.c (varobj_get_path_expr): Set var->path_expr.
+       * c-varobj.c (c_path_expr_of_child): Set local var instead of
+       child->path_expr.
+       (cplus_path_expr_of_child): Same.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi-cmd-var.c (print_varobj): Free varobj_get_expression
+       result.
+       (mi_cmd_var_info_expression): Same.
+       * varobj.c (varobj_get_expression): Mention in the comment that
+       the result must by freed by the caller.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
+       varobj_get_type.
+       (varobj_update_one): Same.
+       * varobj.c (update_type_if_necessary): Free curr_type_str and
+       new_type_str.
+       (varobj_get_type): Specify in comment that the result needs to be
+       freed by the caller.
+
 2015-01-29  Doug Evans  <dje@google.com>
 
        PR symtab/17890
This page took 0.026088 seconds and 4 git commands to generate.