s/get_regcache_aspace (regcache)/regcache->aspace ()/g
authorYao Qi <yao.qi@linaro.org>
Thu, 2 Nov 2017 15:15:41 +0000 (15:15 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 2 Nov 2017 15:15:41 +0000 (15:15 +0000)
commita01bda5221f75031ea2b6d05860e46c7b9b58b55
tree796d3a2b2981df4f3ab27d46e9b358a542bc1674
parentd999647bc427ce2e083c4449b683705449d0bb58
s/get_regcache_aspace (regcache)/regcache->aspace ()/g

and remove get_regcache_aspace.

gdb:

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.
gdb/ChangeLog
gdb/darwin-nat.c
gdb/frame.c
gdb/infrun.c
gdb/linux-nat.c
gdb/record-full.c
gdb/regcache.c
gdb/regcache.h