[MI] -thread-select using the --thread option

Vladimir Prus vladimir@codesourcery.com
Fri Feb 12 10:30:00 GMT 2010


Marc Khouzam wrote:

> Hi,
> 
> I just realized that DSF-GDB (with GDB 7.0), when forced to use -thread-select,
> is adding the --thread option to it.  So I see
> 
>   -thread-select --thread 1 1
> 
> This will happen before using a CLI command ('jump'), for example.
> 
> I'm assuming I should just turn off the use of the --thread option for
> -thread-select.  I just wanted to check with you experts if it truly
> is that simple.

Well, the officially blessed way is to never use -thread-select in
the first place ;-) If you are going to use it, then well, omitting
--thread seems reasonable.

- Volodya



More information about the Gdb mailing list