forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -264,12 +264,6 @@ private:
|
||||
int m_regnum;
|
||||
};
|
||||
|
||||
struct address_space *
|
||||
get_regcache_aspace (const struct regcache *regcache)
|
||||
{
|
||||
return regcache->aspace ();
|
||||
}
|
||||
|
||||
/* Return a pointer to register REGNUM's buffer cache. */
|
||||
|
||||
gdb_byte *
|
||||
|
||||
Reference in New Issue
Block a user