Fix PR gdb/20948: --write option to GDB causes segmentation fault
[deliverable/binutils-gdb.git] / gdb / ia64-linux-nat.c
index 49ae702682b0a6864fed5e6ba74a74ce97325839..1d39ec5c30a0175475622416d65626631d561238 100644 (file)
@@ -553,7 +553,7 @@ store_debug_register (ptid_t ptid, int idx, long val)
 {
   int tid;
 
-  tid = ptid_get_lwp (ptid);
+  tid = ptid.lwp ();
   if (tid == 0)
     tid = ptid.pid ();
 
This page took 0.025612 seconds and 4 git commands to generate.