Implement struct type_stack with a vector
[deliverable/binutils-gdb.git] / gdb / amd64-linux-nat.c
index 588c9b50ebb747d74e4977a9e7f0cfc5d8cb5c08..bc2412b2382cd999eeaea23a1ef664f5240a9d11 100644 (file)
@@ -148,7 +148,7 @@ amd64_linux_nat_target::fetch_registers (struct regcache *regcache, int regnum)
   int tid;
 
   /* GNU/Linux LWP ID's are process ID's.  */
-  tid = ptid_get_lwp (regcache->ptid ());
+  tid = regcache->ptid ().lwp ();
   if (tid == 0)
     tid = regcache->ptid ().pid (); /* Not a threaded program.  */
 
@@ -226,7 +226,7 @@ amd64_linux_nat_target::store_registers (struct regcache *regcache, int regnum)
   int tid;
 
   /* GNU/Linux LWP ID's are process ID's.  */
-  tid = ptid_get_lwp (regcache->ptid ());
+  tid = regcache->ptid ().lwp ();
   if (tid == 0)
     tid = regcache->ptid ().pid (); /* Not a threaded program.  */
 
This page took 0.023507 seconds and 4 git commands to generate.