]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/nat/aarch64-linux.c
Remove ptid_get_pid
[thirdparty/binutils-gdb.git] / gdb / nat / aarch64-linux.c
index 35ecdc210ded9f82541d10b758610876d69049f9..c3c29a0665a31d8dc9bdaea7b1f2909efc1e7502 100644 (file)
@@ -47,7 +47,7 @@ aarch64_linux_prepare_to_resume (struct lwp_info *lwp)
       ptid_t ptid = ptid_of_lwp (lwp);
       int tid = ptid_get_lwp (ptid);
       struct aarch64_debug_reg_state *state
-       = aarch64_get_debug_reg_state (ptid_get_pid (ptid));
+       = aarch64_get_debug_reg_state (ptid.pid ());
 
       if (show_debug_regs)
        debug_printf ("prepare_to_resume thread %d\n", tid);