Following discussion on thread http://sources.redhat.com/ml/gdb-patches/2007-03/msg00138.html I propose an implementation of *-thread-info* mi command. I will propose new testsuite enhancements and document for this command *later* since I prefer that command to be approved (in its format) before going in doc and testsuite work that represents much more work for me. This command takes an optional thread id in parameter, if omitted the current thread is taken. Attached is the patch to be discussed. -- Denis