This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Replace MERGEPID in proc-service.c
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] Replace MERGEPID in proc-service.c
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Sun, 14 Oct 2001 13:50:06 +0200
After the discussion of last week, I consider this change an obvious
fix, so I checked this in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
Index: proc-service.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-service.c,v
retrieving revision 1.5
diff -u -p -r1.5 proc-service.c
--- proc-service.c 2001/05/15 00:03:36 1.5
+++ proc-service.c 2001/10/14 11:48:15
@@ -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. */