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: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 4 Oct 2013 09:30:37 +0200
- 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>
> So this gets rid of all the unnecessary descriptions, leaving only the
> ones near the function declarations in the header file, and
> fixes/clarifies those that remain.
>
> Comments?
I like it!
Thanks for doing this cleanup, Pedro.
> gdb/
> 2013-10-04 Pedro Alves <palves@redhat.com>
>
> * common/ptid.c (null_ptid, minus_one_ptid, ptid_build)
> (pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid)
> (ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p): Remove
> describing comments.
> * common/ptid.h: Remove intro description of constructors,
> accessors and predicates.
> (struct ptid): Reformat.
> (minus_one_ptid, ptid_build, pid_to_ptid, ptid_get_pid)
> (ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): Change
> describing comments.
--
Joel