This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New feature: allow thread command to take a LWPID.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: scott dot harrison at tandberg dot com, gdb-patches at sourceware dot org
- Date: Fri, 5 Feb 2010 07:28:01 +0400
- Subject: Re: New feature: allow thread command to take a LWPID.
- References: <20100204113543.GB2704@tandberg.com> <m3k4usinos.fsf@fleche.redhat.com>
> 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