Re: New feature: allow thread command to take a LWPID.

scott.harrison
2010-02-05T09:40:28Z

Joel,

Is there any existing, generic code that I can utilise to do this ?

Regards,

Scott.

On Fri, Feb 05, 2010 at 07:28:01AM +0400, Joel Brobecker wrote:
>> I am not super fond of the syntax. I don't have a better suggestion
>> though :-(
>
>I agree about the syntax. How about using a command "switch".
>For instance:
>
> (gdb) thread THREAD_NO
> (gdb) thread /l LWP
>
>We could even think of adding:
>
> (gdb) thread /t TID
>
>(for the platforms that use the tid rather than the lwp).
>
>--
>Joel

--
TANDBERG Telecom UK Ltd
Registered in England and Wales No: 3390345. Registered address: Unit 2
Pine Trees, Chertsey Lane, Staines, Middlesex, TW18 3HR