diff options
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 4a32602d16f..35636b16b4c 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -23,6 +23,7 @@ struct regcache; struct gdbarch; +struct address_space; extern struct regcache *get_current_regcache (void); extern struct regcache *get_thread_regcache (ptid_t ptid); @@ -36,6 +37,10 @@ struct regcache *regcache_xmalloc (struct gdbarch *gdbarch); extern struct gdbarch *get_regcache_arch (const struct regcache *regcache); +/* Return REGCACHE's address space. */ + +extern struct address_space *get_regcache_aspace (const struct regcache *regcache); + /* Transfer a raw register [0..NUM_REGS) between core-gdb and the regcache. */ |