diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-10 01:07:39 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-10 01:07:39 +0000 |
commit | 5ebe9ce0be71528533ab0aaec6bfb719a9d56582 (patch) | |
tree | 53cf284f21cabf161fdbde265c28bf213401b11a /gdb/lin-lwp.c | |
parent | c2ef7acc383f132fa2486d607bc18bdbbc661ef7 (diff) | |
download | gdb-5ebe9ce0be71528533ab0aaec6bfb719a9d56582.tar.gz |
Minor ptid_t changes for the upcoming phase 3 ptid patch.
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r-- | gdb/lin-lwp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index 9525ac651ae..df62901a99e 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -348,7 +348,7 @@ lin_lwp_attach (char *args, int from_tty) child_ops.to_attach (args, from_tty); /* Add the initial process as the first LWP to the list. */ - lp = add_lwp (BUILD_LWP (inferior_ptid, inferior_ptid)); + lp = add_lwp (BUILD_LWP (PIDGET (inferior_ptid), PIDGET (inferior_ptid))); /* Make sure the initial process is stopped. The user-level threads layer might want to poke around in the inferior, and that won't @@ -414,7 +414,7 @@ lin_lwp_detach (char *args, int from_tty) sigprocmask (SIG_SETMASK, &normal_mask, NULL); sigemptyset (&blocked_mask); - inferior_ptid = GET_PID (inferior_ptid); + inferior_ptid = pid_to_ptid (GET_PID (inferior_ptid)); child_ops.to_detach (args, from_tty); } |