From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18687 invoked by alias); 12 Feb 2010 14:54:56 -0000 Received: (qmail 18676 invoked by uid 22791); 12 Feb 2010 14:54:54 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Feb 2010 14:54:50 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id o1CEuMx7016699; Fri, 12 Feb 2010 08:56:22 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.197]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Fri, 12 Feb 2010 09:54:47 -0500 From: Marc Khouzam To: "'Vladimir Prus'" , "'gdb@sources.redhat.com'" Date: Fri, 12 Feb 2010 14:54:00 -0000 Subject: RE: [MI] -thread-select using the --thread option Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00094.txt.bz2 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Vladimir Prus > Sent: Friday, February 12, 2010 5:30 AM > To: gdb@sources.redhat.com > Subject: Re: [MI] -thread-select using the --thread option >=20 > Marc Khouzam wrote: >=20 > > Hi, > >=20 > > I just realized that DSF-GDB (with GDB 7.0), when forced to=20 > use -thread-select, > > is adding the --thread option to it. So I see > >=20 > > -thread-select --thread 1 1 > >=20 > > This will happen before using a CLI command ('jump'), for example. > >=20 > > I'm assuming I should just turn off the use of the --thread=20 > option for > > -thread-select. I just wanted to check with you experts if it truly > > is that simple. >=20 > 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. Thanks 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)