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]

[RFC] MERGEPID macro wrong ?



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


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