This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Clean up ptid.h/ptid.c.
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 03 Oct 2013 11:11:30 -0600
- Subject: Re: [PATCH] Clean up ptid.h/ptid.c.
- Authentication-results: sourceware.org; auth=none
- References: <1380809351-20800-1-git-send-email-palves at redhat dot com>
>>>>> "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