diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-11-02 15:15:41 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-11-02 15:15:41 +0000 |
commit | a01bda5221f75031ea2b6d05860e46c7b9b58b55 (patch) | |
tree | 796d3a2b2981df4f3ab27d46e9b358a542bc1674 /gdb/regcache.h | |
parent | d999647bc427ce2e083c4449b683705449d0bb58 (diff) | |
download | gdb-a01bda5221f75031ea2b6d05860e46c7b9b58b55.zip gdb-a01bda5221f75031ea2b6d05860e46c7b9b58b55.tar.gz gdb-a01bda5221f75031ea2b6d05860e46c7b9b58b55.tar.bz2 |
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.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 696b776..861a6d2 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -39,10 +39,6 @@ extern struct regcache *get_thread_arch_aspace_regcache (ptid_t, extern ptid_t regcache_get_ptid (const struct regcache *regcache); -/* Return REGCACHE's address space. */ - -extern struct address_space *get_regcache_aspace (const struct regcache *); - enum register_status regcache_register_status (const struct regcache *regcache, int regnum); @@ -257,6 +253,7 @@ public: /* Return regcache's architecture. */ gdbarch *arch () const; + /* Return REGCACHE's address space. */ address_space *aspace () const { return m_aspace; |