[RFA] rename find_thread_pid to find_thread_ptid

Joel Brobecker brobecker@adacore.com
Wed May 6 19:02:00 GMT 2009


> 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



More information about the Gdb-patches mailing list