diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:35 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:35 -0400 |
commit | 0ec9f11447514a797ae13760825fa45f9deedd8c (patch) | |
tree | 05e2712efd767dd5d0c8a08b9391f16f83124de1 /gdb/regcache.h | |
parent | 222312d359fe0a68f8583ba315583ee8cc94f252 (diff) | |
download | gdb-0ec9f11447514a797ae13760825fa45f9deedd8c.zip gdb-0ec9f11447514a797ae13760825fa45f9deedd8c.tar.gz gdb-0ec9f11447514a797ae13760825fa45f9deedd8c.tar.bz2 |
Remove regcache_register_status
Remove regcache_register_status, change callers to use
reg_buffer::get_register_status directly.
gdb/ChangeLog:
* regcache.h (regcache_register_status): Remove, update callers
to use reg_buffer::get_register_status directly instead.
* regcache.c (regcache_register_status): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 7fcc43a..fa177b5 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -35,9 +35,6 @@ extern struct regcache *get_thread_arch_aspace_regcache (ptid_t, struct gdbarch *, struct address_space *); -enum register_status regcache_register_status (const struct regcache *regcache, - int regnum); - /* Make certain that the register REGNUM in REGCACHE is up-to-date. */ void regcache_raw_update (struct regcache *regcache, int regnum); @@ -210,6 +207,8 @@ public: /* Return regcache's architecture. */ gdbarch *arch () const; + /* Get the availability status of the value of register REGNUM in this + buffer. */ enum register_status get_register_status (int regnum) const; virtual ~reg_buffer () |