This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] rename find_thread_pid to find_thread_ptid
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 6 May 2009 12:02:27 -0700
- Subject: Re: [RFA] rename find_thread_pid to find_thread_ptid
- References: <20090501225121.1C38B84890@localhost>
> Anyone mind a global renaming of find_thread_pid to find_thread_ptid?
I don't mind the renaming, but if we're going to rename it, what do
people thing about "find_thread_from_ptid". I always get confused by
the function name because it makes me think that the function returns
the pid/ptid instead of returning the thread from the ptid...
That's just a suggestion and I don't want to start another bikeshed
discussion. The name you suggest is already better than the old name,
so I'm not objecting to your initial suggestion.
--
Joel