[PATCH v2 2/5] Add python method InferiorThread.thread_handle

Kevin Buettner kevinb@redhat.com
Wed Mar 20 20:24:00 GMT 2019


On Tue, 05 Mar 2019 14:48:34 -0700
Tom Tromey <tom@tromey.com> wrote:

> >>>>> "Kevin" == Kevin Buettner <kevinb@redhat.com> writes:  
> 
> Kevin> +/* Implementation of gdb.InferiorThread.thread_handle (self) -> handle. */  
> 
> What would you think of just the name "handle"?  The "thread" part
> seemed redundant to me.

I like this idea, though to maintain consistency, I think we should
also rename the existing Inferior.thread_from_thread_handle function
to Inferior.thread_from_handle.  I'll add another commit which does
this to the upcoming v3 series which I'm working on.

Kevin



More information about the Gdb-patches mailing list