regcache_cooked_read -> regcache->cooked_read
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f7fccd98b6985cc92f3191970cdd253da8e0ff7e..499fc5399fc99047dfe693ae0567bf760020cad5 100644 (file)
@@ -1,3 +1,260 @@
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * ia64-tdep.c (ia64_pseudo_register_read): Call
+       regcache->cooked_read instead of regcache_cooked_read_unsigned.
+       * m32c-tdep.c (m32c_cat_read): Likewise.
+       (m32c_r3r2r1r0_read): Likewise.
+       * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
+       * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache
+       method raw_read instead of regcache_raw_read.
+       * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
+       * arm-tdep.c (arm_neon_quad_read): Likewise.
+       * avr-tdep.c (avr_pseudo_register_read): Likewise.
+       * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
+       * frv-tdep.c (frv_pseudo_register_read): Likewise.
+       * h8300-tdep.c (h8300_pseudo_register_read): Likewise.
+       * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
+       (i386_pseudo_register_read_into_value): Likewise.
+       * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
+       * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
+       * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
+       * rl78-tdep.c (rl78_pseudo_register_read): Likewise.
+       * s390-linux-tdep.c (s390_pseudo_register_read): Likewise.
+       * sparc-tdep.c (sparc32_pseudo_register_read):  Likewise.
+       * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
+       * spu-tdep.c (spu_pseudo_register_read_spu):  Likewise.
+       * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
+       * configure.tgt: Remove target mt.
+       * mt-tdep.c: Remove.
+       * regcache.c (cooked_read_test): Remove the check for mt.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * jit.c (jit_frame_prev_register): Call regcache::cooked_read
+       instead of gdbarch_pseudo_register_read_value.
+
+2018-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (need_gnat_info): Return nonzero if the cu's
+       language is Ada.
+
+2018-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * linespec.c (create_sals_line_offset): Remove code that preserved
+       the symtab_and_line's line number.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * varobj.c (varobj_create): Don't set valid_block when creating a
+       floating varobj.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * varobj.c (varobj_create): Remove out of date comment.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR mi/20395
+       * ada-exp.y (write_var_from_sym): Pass extra parameter when
+       updating innermost block.
+       * parse.c (innermost_block_tracker::update): Take extra type
+       parameter, and check types match before updating innermost block.
+       (write_dollar_variable): Update innermost block for registers.
+       * parser-defs.h (enum innermost_block_tracker_type): New enum.
+       (innermost_block_tracker::innermost_block_tracker): Initialise
+       m_types member.
+       (innermost_block_tracker::reset): Take type parameter.
+       (innermost_block_tracker::update): Take type parameter, and pass
+       type through as needed.
+       (innermost_block_tracker::m_types): New member.
+       * varobj.c (varobj_create): Pass type when reseting innermost
+       block.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-exp.y (write_var_from_sym): Switch to innermost_block API.
+       * ada-lang.c (resolve_subexp): Likewise.
+       * breakpoint.c (set_breakpoint_condition) Likewise.
+       (watch_command_1) Likewise.
+       * c-exp.y (variable): Likewise.
+       * d-exp.y (PrimaryExpression): Likewise.
+       * f-exp.y (variable): Likewise.
+       * go-exp.y (variable): Likewise.
+       * m2-exp.y (variable): Likewise.
+       * objfiles.c (objfile::~objfile): Likewise.
+       * p-exp.y (variable): Likewise.
+       * parse.c (innermost_block): Change type.
+       * parser-defs.h (class innermost_block_tracker): New.
+       (innermost_block): Change to innermost_block_tracker.
+       * printcmd.c (display_command): Switch to innermost_block API.
+       (do_one_display): Likewise.
+       * rust-exp.y (do_one_display): Likewise.
+       * symfile.c (clear_symtab_users): Likewise.
+       * varobj.c (varobj_create): Switch to innermost_block API, replace
+       use of innermost_block with block stored on varobj object.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * expression.h (innermost_block): Remove declaration.
+       * varobj.c: Add 'parser-defs.h' include.
+
+2018-01-19  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified
+       symbols in the static and global blocks.
+
+2018-01-19  James Clarke  <jrtc27@jrtc27.com>
+
+       * nat/linux-ptrace.c: Remove unnecessary reinclusion of
+       gdb_ptrace.h, and move including gdb_wait.h ...
+       * nat/linux-ptrace.h: ... to here.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * inf-ptrace.c (inf_ptrace_detach): Adjust call to
+       inf_ptrace_detach_success.
+       (inf_ptrace_detach_success): Add inferior parameter, use it
+       instead of inferior_ptid, pass it to detach_inferior.
+       * inf-ptrace.h (inf_ptrace_detach_success): Add inferior
+       parameter.
+       * inferior.c (detach_inferior): Add overload that takes an
+       inferior object.
+       * inferior.h (detach_inferior): Likewise.
+       * linux-nat.c (linux_nat_detach): Use the inf parameter, don't
+       use inferior_ptid, adjust call to inf_ptrace_detach_success.
+       * linux-thread-db.c (thread_db_detach): Use inf parameter.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.h (struct target_ops) <to_detach>: Add inferior
+       parameter.
+       (target_detach): Likewise.
+       * target.c (dispose_inferior): Pass inferior down.
+       (target_detach): Pass inferior down.  Assert that it is equal to
+       the current inferior.
+       * aix-thread.c (aix_thread_detach): Pass inferior down.
+       * corefile.c (core_file_command): Pass current_inferior() down.
+       * corelow.c (core_detach): Add inferior parameter.
+       * darwin-nat.c (darwin_detach): Likewise.
+       * gnu-nat.c (gnu_detach): Likewise.
+       * inf-ptrace.c (inf_ptrace_detach): Likewise.
+       * infcmd.c (detach_command): Pass current_inferior() down to
+       target_detach.
+       * infrun.c (follow_fork_inferior): Pass parent_inf to
+       target_detach.
+       (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to
+       target_detach.
+       * linux-nat.c (linux_nat_detach): Add inferior parameter.
+       * linux-thread-db.c (thread_db_detach): Likewise.
+       * nto-procfs.c (procfs_detach): Likewise.
+       * procfs.c (procfs_detach): Likewise.
+       * record.c (record_detach): Likewise.
+       * record.h (struct inferior): Forward-declare.
+       (record_detach): Add inferior parameter.
+       * remote-sim.c (gdbsim_detach): Likewise.
+       * remote.c (remote_detach_1): Likewise.
+       (remote_detach): Likewise.
+       (extended_remote_detach): Likewise.
+       * sol-thread.c (sol_thread_detach): Likewise.
+       * target-debug.h (target_debug_print_inferior_p): New macro.
+       * target-delegates.c: Re-generate.
+       * top.c (kill_or_detach): Pass inferior down to target_detach.
+       * windows-nat.c (windows_detach): Add inferior parameter.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.h (struct target_ops) <to_detach>: Remove args
+       parameter.
+       (target_detach): Likewise.
+       * target.c (dispose_inferior): Adjust.
+       (target_detach): Remove args parameter, adjust.
+       * aix-thread.c (aix_thread_detach): Adjust.
+       * corefile.c (core_file_command): Adjust.
+       * corelow.c (core_detach): Adjust.
+       * darwin-nat.c (darwin_detach): Adjust.
+       * gnu-nat.c (gnu_detach): Adjust.
+       * inf-ptrace.c (inf_ptrace_detach): Adjust.
+       * infcmd.c (detach_command): Adjust
+       * infrun.c (follow_fork_inferior): Adjust.
+       (handle_vfork_child_exec_or_exit): Adjust.
+       * linux-fork.c (linux_fork_detach): Remove args parameter.
+       * linux-fork.h (linux_fork_detach): Likewise.
+       * linux-nat.c (linux_nat_detach): Likewise, and adjust.
+       * linux-thread-db.c (thread_db_detach): Likewise.
+       * nto-procfs.c (procfs_detach): Likewise.
+       * procfs.c (procfs_detach): Likewise.
+       (do_detach): Remove signo parameter.
+       * record.c (record_detach): Remove args parameter.
+       * record.h (record_detach): Likewise.
+       * remote-sim.c (gdbsim_detach): Likewise.
+       * remote.c (remote_detach_1): Likewise.
+       (remote_detach): Likewise.
+       (extended_remote_detach): Likewise.
+       * sol-thread.c (sol_thread_detach): Likewise.
+       * target-delegates.c: Re-generate.
+       * top.c (struct qt_args) <args>: Remove field.
+       (kill_or_detach): Don't pass args.
+       (quit_force): Don't set args.
+       * windows-nat.c (windows_detach): Remove args parameter.
+
+2018-01-19  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
+       (arm_linux_init_abi): Install it.
+
+2018-01-19  Yao Qi  <yao.qi@linaro.org>
+
+       * osabi.c (gdb_osabi_names): Extend the regexp for
+       arm-linux-gnueabihf.
+
+2018-01-18  Yao Qi  <yao.qi@linaro.org>
+
+       * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
+       m_abbrevs.
+       (abbrev_table::add_abbrev): Update.
+       (abbrev_table::lookup_abbrev): Update.
+
+2018-01-18  Yao Qi  <yao.qi@linaro.org>
+
+       * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
+
+2018-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * compile/compile.c (compile_to_object): Convert "triplet_rx"
+       to "std::string".
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
+       * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
+       (create_array_type_with_stride): Update.
+       * dwarf2read.c (set_die_type): Update.
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (delayed_method_info): Remove typedef.
+       (dwarf2_cu::method_info): Now a std::vector.
+       (add_to_method_list): Update.
+       (free_delayed_list): Remove.
+       (compute_delayed_physnames): Update.
+       (process_full_comp_unit, process_full_type_unit): Clear the method
+       list.  Remove cleanups.
+       (psymtab_include_file_name): Add name_holder parameter.  Use
+       unique_xmalloc_ptr.
+       (dwarf_decode_lines): Update.
+
 2018-01-17  Tom Tromey  <tom@tromey.com>
            Simon Marchi  <simon.marchi@ericsson.com>
 
This page took 0.026658 seconds and 4 git commands to generate.