Do not manually dissect OP_TYPE operations
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 61997f6e178d070d5830b3b07518b5329964285d..0bf7d511f8249150724f4a7a3dbaeb0c675d187e 100644 (file)
@@ -1,3 +1,220 @@
+2020-12-14  Tom Tromey  <tom@tromey.com>
+
+       * dtrace-probe.c (dtrace_process_dof_probe): Use value_type.
+       * typeprint.c (whatis_exp): Always use evaluate_type.
+       (maintenance_print_type): Likewise.  Simplify.
+
+2020-12-14  Tom Tromey  <tromey@adacore.com>
+
+       * dictionary.c (language_defn::search_name_hash): Ignore "B".
+       * ada-lang.c (advance_wild_match): Ignore "B".
+       (full_match): Remove.
+       (do_full_match): Rewrite.
+
+2020-12-14  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (get_var_value): Only consider exact matches.
+
+2020-12-14  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (rewrite_array_type): New function.
+        (quirk_ada_thick_pointer_struct): Use rewrite_array_type.
+
+2020-12-14  Tom Tromey  <tromey@adacore.com>
+
+       * valarith.c (fixed_point_binop): Call error on division by zero.
+
+2020-12-13  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.c (safe_parse_type): Make argument const.
+       * value.h (parse_and_eval_type): Make argument const.
+       * eval.c (parse_and_eval_type): Make argument const.
+
+2020-12-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention new commands.
+       * target-dcache.c: Add 'cli/cli-cmds.h' include.
+       (maint_flush_dcache_command): New function.
+       (_initialize_target_dcache): Create new 'maint flush dcache'
+       command.
+
+2020-12-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention new commands, and that the old commands are now
+       deprecated.
+       * cli/cli-cmds.c (maintenanceflushlist): Define.
+       * cli/cli-cmds.h (maintenanceflushlist): Declare.
+       * maint.c (_initialize_maint_cmds): Initialise
+       maintenanceflushlist.
+       * regcache.c: Add 'cli/cli-cmds.h' include.
+       (reg_flush_command): Add header comment.
+       (_initialize_regcache): Create new 'maint flush register-cache'
+       command, make 'flushregs' an alias.
+       * symtab.c: Add 'cli/cli-cmds.h' include.
+       (_initialize_symtab): Create new 'maint flush symbol-cache'
+       command, make old command an alias.
+
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-decode.c (deprecated_cmd_warning): Ignore the prefix
+       result from lookup_cmd_composition_1, use the prefixes from both
+       the command and the alias instead.
+       (lookup_cmd_composition_1): Initial prefix command is the based on
+       the search list being passed in.  Simplify the logic for tracking
+       the prefix command.  Replace a use of alloca with a local
+       std::string.
+
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-decode.c (deprecated_cmd_warning): Use nullptr instead
+       of NULL.  Don't print message piece by piece, but sentence at a
+       time to allow internationalisation.  Some whitespace cleanup.
+
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR cli/15104
+       * cli/cli-decode.c (lookup_cmd_1): Pass command list to
+       deprecated_cmd_warning.
+       (deprecated_cmd_warning): Take extra parameter, call
+       lookup_cmd_composition_1 and pass new parameter through.
+       (lookup_cmd_composition_1): New function, takes implementation of
+       lookup_cmd_composition but with extra parameter.
+       (lookup_cmd_composition): Now calls lookup_cmd_composition_1
+       passing in cmdlist.
+       * command.h (deprecated_cmd_warning): Add extra parameter to
+       declaration.
+       * top.c (execute_command): Pass cmdlist to deprecated_cmd_warning.
+
+2020-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-decode.c (lookup_cmd_1): Move header comment into
+       command.h, add extra parameter, and use this to guard giving a
+       warning.
+       * command.h (lookup_cmd_1): Add comment from cli/cli-decode.c,
+       include argument names in declaration, add new argument.
+       * completer.c (complete_line_internal_1): Remove unneeded
+       brackets, pass extra argument to lookup_cmd_1.
+
+2020-12-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * infrun.h (debug_infrun): Make a bool.
+       * infrun.c (debug_infrun): Make a bool.
+       (_initialize_infrun): Use add_setshow_boolean_cmd to define "set
+       debug infrun".
+
+2020-12-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * displaced-stepping.h (displaced_debug_printf): Use
+       debug_prefixed_printf_cond.
+       * dwarf2/read.c (dwarf_read_debug_printf): Likewise.
+       (dwarf_read_debug_printf_v): Likewise.
+       * infrun.h (infrun_debug_printf): Likewise.
+       * linux-nat.c (linux_nat_debug_printf): Likewise.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * p-exp.y (intvar): Remove global.
+       (DOLLAR_VARIABLE): Change type.
+       (start): Update.
+       (exp): Call write_dollar_variable here...
+       (yylex): ... not here.
+       * m2-exp.y (DOLLAR_VARIABLE): Change type.
+       (variable): Call write_dollar_variable here...
+       (yylex): ... not here.
+       * f-exp.y (DOLLAR_VARIABLE): Change type.
+       (exp): Call write_dollar_variable here...
+       (yylex): ... not here.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (varobj_create): Update.
+       (install_variable): Return void.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (instantiate_pretty_printer): Use gdbpy_ref.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (varobj_clear_saved_item): Remove.
+       (update_dynamic_varobj_children): Update.
+       (varobj::~varobj): Don't call varobj_clear_saved_item.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (install_dynamic_child, varobj_clear_saved_item)
+       (update_dynamic_varobj_children, create_child)
+       (create_child_with_value): Update.
+       * varobj-iter.h (struct varobj_item) <value>: Now a
+       value_ref_ptr.
+       * python/py-varobj.c (py_varobj_iter::next): Call release_value.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (struct varobj_dynamic) <child_iter>: Now unique_ptr.
+       (varobj_get_iterator): Return unique_ptr.
+       (update_dynamic_varobj_children, install_visualizer)
+       (varobj::~varobj): Update.
+       * python/python-internal.h (py_varobj_get_iterator): Return
+       unique_ptr.
+       * python/py-varobj.c (py_varobj_get_iterator): Return unique_ptr.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (struct varobj_dynamic) <saved_item>: Now unique_ptr.
+       (varobj_clear_saved_item, update_dynamic_varobj_children):
+       Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (update_dynamic_varobj_children): Update.
+       * varobj-iter.h (struct varobj_iter) <next>: Change return type.
+       * python/py-varobj.c (struct py_varobj_iter) <next>: Change return
+       type.
+       (py_varobj_iter::next): Likewise.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (update_dynamic_varobj_children, install_visualizer)
+       (varobj::~varobj): Update.
+       * varobj-iter.h (struct varobj_iter): Change to interface class.
+       (struct varobj_iter_ops): Remove.
+       (varobj_iter_next, varobj_iter_delete): Remove.
+       * python/py-varobj.c (struct py_varobj_iter): Derive from
+       varobj_iter.  Add constructor, destructor.  Rename members.
+       (py_varobj_iter::~py_varobj_iter): Rename from
+       py_varobj_iter_dtor.
+       (py_varobj_iter::next): Rename from py_varobj_iter_next.
+       (py_varobj_iter_ops): Remove.
+       (py_varobj_iter): Rename from py_varobj_iter_ctor.
+       (py_varobj_iter_new): Remove.
+       (py_varobj_get_iterator): Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.h (all_root_varobjs): Take a function_view.
+       * varobj.c (all_root_varobjs): Take a function_view.
+       (varobj_invalidate_iter): Remove unused parameter.
+       (varobj_invalidate): Update.
+       * mi/mi-cmd-var.c (struct mi_cmd_var_update): Remove.
+       (mi_cmd_var_update_iter): Change parameters.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (struct varobj_root) <next>: Remove.
+       (struct vlist): Remove.
+       (rootlist): Now a std::list.
+       (install_variable, uninstall_variable, all_root_varobjs): Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (VAROBJ_TABLE_SIZE): Remove.
+       (varobj_table): Now htab_t.
+       (varobj_get_handle, install_variable, uninstall_variable):
+       Update.
+       (hash_varobj, eq_varobj_and_string): New functions.
+       (hash_varobj): Update.
+
 2020-12-11  Tom Tromey  <tom@tromey.com>
 
        * inline-frame.c (stopped_by_user_bp_inline_frame): Update.
This page took 0.030717 seconds and 4 git commands to generate.