* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.

This commit is contained in:
Mark Kettenis 2001-10-14 11:50:39 +00:00
parent cacab7c477
commit c987d8c09d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2001-10-14 Mark Kettenis <kettenis@gnu.org>
* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
Fix attaching to cloned processes. This fixes PR gdb/61.
* lin-lwp.c (struct lwp_info): Add new member `cloned'.
(is_cloned) Removed.

View File

@ -51,7 +51,7 @@ typedef size_t gdb_ps_size_t;
/* Building process ids. */
#define BUILD_LWP(tid, pid) MERGEPID (pid, tid)
#define BUILD_LWP(lwp, pid) ptid_build (pid, lwp, 0)
/* Helper functions. */