diff options
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index b8ac182fa56..c89570d245c 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -32,6 +32,10 @@ void regcache_xfree (struct regcache *regcache); struct cleanup *make_cleanup_regcache_xfree (struct regcache *regcache); struct regcache *regcache_xmalloc (struct gdbarch *gdbarch); +/* Return REGCACHE's architecture. */ + +extern struct gdbarch *get_regcache_arch (const struct regcache *regcache); + /* Transfer a raw register [0..NUM_REGS) between core-gdb and the regcache. */ |