aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-09-17 13:29:32 +0000
committerYao Qi <yao@codesourcery.com>2011-09-17 13:29:32 +0000
commite2d966398c7963a6448f0d3d4451438efeda66e7 (patch)
treef4cea31c1bc6332c67f63b99309b55361bae82c7 /gdb/regcache.h
parent53dad163f707be6f386ca506b86e195b747d7169 (diff)
downloadfsf-binutils-gdb-e2d966398c7963a6448f0d3d4451438efeda66e7.zip
fsf-binutils-gdb-e2d966398c7963a6448f0d3d4451438efeda66e7.tar.gz
fsf-binutils-gdb-e2d966398c7963a6448f0d3d4451438efeda66e7.tar.bz2
gdb/
* infrun.c (displaced_step_fixup): Move some code ... (displaced_step_restore): ... here. New function. (handle_inferior_event): Cleanup displaced stepping state for both child and parent when get forked or vforked event. * regcache.c (get_thread_arch_aspace_regcache): New function. get_thread_arch_regcache (): Call it.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 7f7dc10..5531f39 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -28,6 +28,9 @@ 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 *);
+extern struct regcache *get_thread_arch_aspace_regcache (ptid_t,
+ struct gdbarch *,
+ struct address_space *);
void regcache_xfree (struct regcache *regcache);
struct cleanup *make_cleanup_regcache_xfree (struct regcache *regcache);