From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18818 invoked by alias); 17 May 2011 14:07:57 -0000 Received: (qmail 18808 invoked by uid 22791); 17 May 2011 14:07:56 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 May 2011 14:07:41 +0000 Received: by qyk30 with SMTP id 30so382024qyk.0 for ; Tue, 17 May 2011 07:07:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.33.137 with SMTP id h9mr458932qcd.255.1305641260308; Tue, 17 May 2011 07:07:40 -0700 (PDT) Received: by 10.229.135.145 with HTTP; Tue, 17 May 2011 07:07:40 -0700 (PDT) In-Reply-To: <201105171303.06804.pedro@codesourcery.com> References: <201105161217.37184.pedro@codesourcery.com> <201105171303.06804.pedro@codesourcery.com> Date: Tue, 17 May 2011 14:07:00 -0000 Message-ID: Subject: Re: Stepping of multithreaded application From: Tomas Martinec To: Pedro Alves Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2011-05/txt/msg00080.txt.bz2 > Hmm. =A0This is making me very nervous on changing GDB's > age old behavior... =A0Who knows which old targets out > there are assuming: > > - "Hc 0" to mean continue all threads > - "Hc $FOO" to continue/step only thread $FOO > > and picking the 's' (step) thread from the previous Hg ? > > I fear we'd be switching from one broken behavior to > another. =A0Since new stubs can just vCont, I'm now > inclined to leave things as is. Ok, I am fine with that. Tomas