24 #include <forward_list> 139 int regnum,
const void *buf);
182 int regnum,
const void *buf,
213 void *cooked_read_context);
271 template<
typename T,
typename = RequireLongest<T>>
274 template<
typename T,
typename = RequireLongest<T>>
279 template<
typename T,
typename = RequireLongest<T>>
282 template<
typename T,
typename = RequireLongest<T>>
290 bool is_signed)
const;
321 void *buf,
size_t size)
const;
353 const void *out,
bool is_raw);
357 int regnum,
const void *in_buf,
358 void *out_buf,
size_t size)
const;
enum register_status regcache_raw_read(struct regcache *regcache, int rawnum, gdb_byte *buf)
enum register_status cooked_read(int regnum, gdb_byte *buf)
int num_raw_registers() const
enum register_status raw_read(int regnum, gdb_byte *buf)
const address_space *const m_aspace
void cooked_write_part(int regnum, int offset, int len, const gdb_byte *buf)
void regcache_raw_collect(const struct regcache *regcache, int regnum, void *buf)
void regcache_cooked_write(struct regcache *regcache, int rawnum, const gdb_byte *buf)
struct value * cooked_read_value(int regnum)
static void regcache_thread_ptid_changed(ptid_t old_ptid, ptid_t new_ptid)
void supply_regset(const struct regset *regset, int regnum, const void *buf, size_t size)
regcache(gdbarch *gdbarch)
struct regcache * get_current_regcache(void)
void regcache_raw_update(struct regcache *regcache, int regnum)
void regcache_cooked_write_unsigned(struct regcache *regcache, int regnum, ULONGEST val)
void raw_write(int regnum, const gdb_byte *buf)
void regcache_collect_regset(const struct regset *regset, const struct regcache *regcache, int regnum, void *buf, size_t size)
enum register_status raw_read_part(int regnum, int offset, int len, gdb_byte *buf)
void regcache_cooked_write_signed(struct regcache *regcache, int regnum, LONGEST val)
void save(regcache_cooked_read_ftype *cooked_read, void *src)
gdb_byte * register_buffer(int regnum) const
struct cached_reg cached_reg_t
enum register_status regcache_cooked_read_unsigned(struct regcache *regcache, int regnum, ULONGEST *val)
void assert_regnum(int regnum) const
struct regcache * get_thread_regcache(ptid_t ptid)
void set_ptid(const ptid_t ptid)
struct value * regcache_cooked_read_value(struct regcache *regcache, int regnum)
void regcache_save(struct regcache *dst, regcache_cooked_read_ftype *cooked_read, void *cooked_read_context)
static constexpr readonly_t readonly
void raw_supply_integer(int regnum, const gdb_byte *addr, int addr_len, bool is_signed)
void regcache_raw_write_signed(struct regcache *regcache, int regnum, LONGEST val)
enum register_status regcache_cooked_read_signed(struct regcache *regcache, int regnum, LONGEST *val)
struct regcache_descr * m_descr
struct type * register_type(struct gdbarch *gdbarch, int regnum)
enum register_status xfer_part(int regnum, int offset, int len, void *in, const void *out, bool is_raw)
void restore(struct regcache *src)
void regcache_write_pc(struct regcache *regcache, CORE_ADDR pc)
struct regcache * get_thread_arch_regcache(ptid_t, struct gdbarch *)
void raw_collect(int regnum, void *buf) const
enum register_status regcache_cooked_read_part(struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf)
enum register_status regcache_raw_read_signed(struct regcache *regcache, int regnum, LONGEST *val)
void raw_supply(int regnum, const void *buf)
void raw_write_part(int regnum, int offset, int len, const gdb_byte *buf)
void regcache_cooked_write_part(struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf)
void regcache_raw_supply(struct regcache *regcache, int regnum, const void *buf)
enum register_status regcache_raw_read_part(struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf)
int register_size(struct gdbarch *gdbarch, int regnum)
void regcache_raw_write(struct regcache *regcache, int rawnum, const gdb_byte *buf)
void transfer_regset(const struct regset *regset, struct regcache *out_regcache, int regnum, const void *in_buf, void *out_buf, size_t size) const
void raw_collect_integer(int regnum, gdb_byte *addr, int addr_len, bool is_signed) const
void raw_set_cached_value(int regnum, const gdb_byte *buf)
void regcache_raw_set_cached_value(struct regcache *regcache, int regnum, const gdb_byte *buf)
void raw_supply_zeroed(int regnum)
void regcache_invalidate(struct regcache *regcache, int regnum)
friend void regcache_cpy(struct regcache *dst, struct regcache *src)
void collect_regset(const struct regset *regset, int regnum, void *buf, size_t size) const
const address_space * aspace() const
void registers_changed(void)
enum register_status regcache_register_status(const struct regcache *regcache, int regnum)
static std::forward_list< regcache * > current_regcache
friend void registers_changed_ptid(ptid_t ptid)
void regcache_raw_write_part(struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf)
friend struct regcache * get_thread_arch_aspace_regcache(ptid_t ptid, struct gdbarch *gdbarch, struct address_space *aspace)
enum register_status get_register_status(int regnum) const
LONGEST regcache_raw_get_signed(struct regcache *regcache, int regnum)
void registers_changed_ptid(ptid_t)
void regcache_cpy(struct regcache *dest, struct regcache *src)
struct regcache * get_thread_arch_aspace_regcache(ptid_t, struct gdbarch *, struct address_space *)
void debug_print_register(const char *func, int regno)
struct regcache * regcache_dup(struct regcache *regcache)
enum register_status cooked_read_part(int regnum, int offset, int len, gdb_byte *buf)
void cooked_write(int regnum, const gdb_byte *buf)
enum register_status() regcache_cooked_read_ftype(void *src, int regnum, gdb_byte *buf)
void dump(ui_file *file, enum regcache_dump_what what_to_dump)
void regcache_raw_write_unsigned(struct regcache *regcache, int regnum, ULONGEST val)
unsigned long long ULONGEST
enum register_status regcache_cooked_read(struct regcache *regcache, int rawnum, gdb_byte *buf)
DISABLE_COPY_AND_ASSIGN(regcache)
void raw_update(int regnum)
void regcache_supply_regset(const struct regset *regset, struct regcache *regcache, int regnum, const void *buf, size_t size)
signed char * m_register_status
void invalidate(int regnum)
ptid_t regcache_get_ptid(const struct regcache *regcache)