This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] MERGEPID macro wrong ?
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFC] MERGEPID macro wrong ?
- From: Pierre Muller <muller at cerbere dot u-strasbg dot fr>
- Date: Mon, 28 May 2001 13:31:18 +0200
The definition of MERGEPID macro currently on CVS seems
wrong to me:
the macro is the following,
#define MERGEPID(PID,TID) ptid_build(PID,TID, 0)
but ptid_build is defined as
ptid_t
ptid_build (int pid, long lwp, long tid)
So I think that the right macro should be
#define MERGEPID(PID,TID) ptid_build(PID, 0, TID)
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99