diff options
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 05b8fb9..9b6c794 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -536,6 +536,13 @@ get_current_regcache (void) return get_thread_regcache (inferior_ptid); } +/* See common/common-regcache.h. */ + +struct regcache * +get_thread_regcache_for_ptid (ptid_t ptid) +{ + return get_thread_regcache (ptid); +} /* Observer for the target_changed event. */ |