This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Replace MERGEPID in proc-service.c


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]