This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] Clean up ptid.h/ptid.c.


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> So this gets rid of all the unnecessary descriptions, leaving only the
Pedro> ones near the function declarations in the header file, and
Pedro> fixes/clarifies those that remain.

Pedro> Comments?

Looks good to me.
It's my preferred approach.

Pedro> -/* Create a ptid given the necessary PID, LWP, and TID components.  */
Pedro> -
Pedro>  ptid_t
Pedro>  ptid_build (int pid, long lwp, long tid)
Pedro>  {

I usually write /* See ptid.h.  */ in these spots.

Tom


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