Remove regcache_get_ptid
[deliverable/binutils-gdb.git] / gdb / i386-gnu-nat.c
index 8bb036dac3d93d52adbcf909b95d0282530181e9..e5195f3eb6e09c744ebd033fe66a29bad3a492d6 100644 (file)
@@ -108,7 +108,7 @@ gnu_fetch_registers (struct target_ops *ops,
                     struct regcache *regcache, int regno)
 {
   struct proc *thread;
-  ptid_t ptid = regcache_get_ptid (regcache);
+  ptid_t ptid = regcache->ptid ();
 
   /* Make sure we know about new threads.  */
   inf_update_procs (gnu_current_inf);
@@ -201,7 +201,7 @@ gnu_store_registers (struct target_ops *ops,
 {
   struct proc *thread;
   struct gdbarch *gdbarch = regcache->arch ();
-  ptid_t ptid = regcache_get_ptid (regcache);
+  ptid_t ptid = regcache->ptid ();
 
   /* Make sure we know about new threads.  */
   inf_update_procs (gnu_current_inf);
This page took 0.023543 seconds and 4 git commands to generate.