const-fy regcache::m_readonly_p
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index eec03e443cddd728ade4ba7086fcba8028f59486..7cec806109b83d47b75daf3ea2406d1a99f21856 100644 (file)
@@ -1,3 +1,109 @@
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.h (regcache) <m_readonly_p>: Change it to const bool.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * breakpoint.c (insert_single_step_breakpoints): Update.
+       * frame.c (struct frame_info) <aspace>: Add const.
+       (frame_save_as_regcache): Add const.
+       (get_frame_address_space): Return const address_space *.
+       * frame.h (get_frame_address_space): Update declaration.
+       * infrun.c (struct step_over_info) <aspace>: Add const.
+       (set_step_over_info): Make aspace const.
+       (displaced_step_prepare_throw): Change variable const.
+       (resume): Likewise.
+       (proceed): Likewise.
+       (adjust_pc_after_break): Likewise.
+       (save_waitstatus): Likewise.
+       (handle_signal_stop): Likewise.
+       (keep_going_pass_signal): Likewise.
+       * jit.c (jit_frame_sniffer): Add const.
+       * mips-tdep.c (mips_single_step_through_delay): Likewise.
+       * ppc-linux-tdep.c (ppu2spu_sniffer): Likewise.
+       * record-full.c (record_full_wait_1): Likewise.
+       * regcache.c (regcache::regcache): Change parameter to const.
+       * regcache.h (regcache::regcache): Likewise.
+       (regcache::aspace): Return const address_space *.
+       (regcache) <m_aspace>: Add const.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * darwin-nat.c (cancel_breakpoint): Use regcache->aspace ().
+       * frame.c (create_sentinel_frame): Likewise.
+       * infrun.c (displaced_step_prepare_throw): Likewise.
+       (resume): Likewise.
+       (thread_still_needs_step_over_bp): Likewise.
+       (proceed): Likewise.
+       (do_target_wait): Likewise.
+       (adjust_pc_after_break): Likewise.
+       (handle_syscall_event): Likewise.
+       (save_waitstatus): Likewise.
+       (handle_inferior_event_1): Likewise.
+       (handle_signal_stop): Likewise.
+       (keep_going_pass_signal): Likewise.
+       * linux-nat.c (status_callback): Likewise.
+       (save_stop_reason): Likewise.
+       (resume_stopped_resumed_lwps): Likewise.
+       * record-full.c (record_full_exec_insn): Likewise.
+       (record_full_wait_1): Likewise.
+       * regcache.c (get_regcache_aspace): Remove.
+       * regcache.h (get_regcache_aspace): Remove.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (struct regcache_descr) <nr_raw_registers>: Remove.
+       (init_regcache_descr): Use gdbarch_num_regs.
+       (regcache::regcache): Likewise.
+       (regcache::get_register_status): Likewise.
+       (regcache::assert_raw_regnum): Likewise.
+       (regcache::cooked_read): Likewise.
+       (regcache::cooked_read_value): Likewise.
+       (regcache::cooked_write): Likewise.
+       (regcache::dump): Likewise.
+       (regcache::num_raw_registers): New method.
+       * regcache.h (class regcache) <num_raw_registers>: New.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache::assert_regnum): New method.
+       (regcache::invalidate): Call assert_regnum.
+       (regcache::raw_update): Likewise.
+       (regcache::raw_write): Likewise.
+       (regcache::raw_read_part): Likewise.
+       (regcache::raw_write_part): Likewise.
+       (regcache::raw_supply): Likewise.
+       (regcache::raw_supply_integer): Likewise.
+       (regcache::raw_supply_zeroed): Likewise.
+       (regcache::raw_collect): Likewise.
+       (regcache::raw_collect_integer): Likewise.
+       * regcache.h (regcache::assert_regnum): Declare.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache::dump): Remove code.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (struct regcache_descr) <sizeof_raw_register_status>:
+       Remove.
+       <sizeof_cooked_register_status>: Remove.
+       (init_regcache_descr): Update.
+       (regcache::regcache): Use nr_cooked_registers and nr_raw_registers.
+       (regcache::save): Likewise.
+       (regcache::dump): Likewise.
+
+2017-11-01  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32-tdep.c (ft32_fetch_instruction): New function.
+       (ft32_analyze_prologue): Use ft32_fetch_instruction().
+
+2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-script.c (execute_control_command): Rename to ...
+       (execute_control_command_1): ... this.
+       (execute_control_command): New function.
+
 2017-10-31  Simon Marchi  <simon.marchi@ericsson.com>
 
        * tracepoint.c (tfind_command): Remove const_cast.
This page took 0.027026 seconds and 4 git commands to generate.