PR gdb/8704
[deliverable/binutils-gdb.git] / gdb / regcache.h
index 5f8ce75062673d826c55ef970e445a61c2459792..35636b16b4c1c845ec72000a68a9d6a80e6090e3 100644 (file)
 
 struct regcache;
 struct gdbarch;
+struct address_space;
 
 extern struct regcache *get_current_regcache (void);
 extern struct regcache *get_thread_regcache (ptid_t ptid);
+extern struct regcache *get_thread_arch_regcache (ptid_t, struct gdbarch *);
 
 void regcache_xfree (struct regcache *regcache);
 struct cleanup *make_cleanup_regcache_xfree (struct regcache *regcache);
@@ -35,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. */
 
This page took 0.024231 seconds and 4 git commands to generate.