Following discussion with Nick (http://sources.redhat.com/ml/gdb-patches/2007-03/msg00156.html), about mi output of -thread-info new command, here is a patch that fix a problem with *-thread-select* that double print the stack frame. Example: -thread-select 1 ^done,new-thread-id="1",frame={level="0",func="done_making_threads",args=[],file="/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/testsuite/gdb.mi/pthreads.c",fullname="/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/testsuite/gdb.mi/pthreads.c",line="61"},line="61",file="/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/testsuite/gdb.mi/pthreads.c" (gdb) As noticed by Nick, this "double printing" is not documented neither tested. I propose to remove it, it does not involved any regression in the testsuite( done for linux native target). -- Denis