This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]