This is the mail archive of the
mailing list for the GDB project.
RE: [MI] -thread-select using the --thread option
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Vladimir Prus
> Sent: Friday, February 12, 2010 5:30 AM
> To: email@example.com
> Subject: Re: [MI] -thread-select using the --thread option
> 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.
Whenever I use an MI command I use --thread instead of -thread-select,
but when I have to use a CLI command I have to use -thread-select.
But that does not happen very often (actually, I don't have an
example anymore, since I noticed that -exec-jump exists)