X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=wwPm3uTB7qCeyb+ruYHcF8h1roB8P8Msjo/EQ2N0joL qmGTDcxKMtCBSQIlpVIjPDXQzkT1LCeSgxvelOCgBNhr/kimA9KVUN6nRiIXPjHJ UOtKnbmjA0rnl51HZ0Gb8YPlqEiLpJXzO48k74RpCPoXeA2opVAnW9zuK1iXhHRw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=5RTcbolZoZnfH4zVUppgw3ZWcD8=; b=PVYGlPwmfOcYTSBob 78JHx7NfVObN5TnCPM6lmf+2856NUa7v91LU1KZWHsIMwUlqKc9+11JncG/mSHtA BK1KsiS+mmH4fPxnvW0euD/uAtgCy1gFRWMM6CLD0c5wi5XbVgMePV75g+R9XqFE Im/zywHL6yH+82eZb8wOakKYag= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock04.mail.cornell.edu X-CornellRouted: This message has been Routed already. Message-ID: <5585D052.2010009@cornell.edu> Date: Sat, 20 Jun 2015 16:42:58 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb arbitrarily starting threads References: <20150620184715 DOT GA17350 AT calimero DOT vinschen DOT de> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 6/20/2015 4:02 PM, William M. (Mike) Miller wrote: > Thanks for the reply. My concern, however, isn't that new threads are > being created; it's that when gdb does this, it sets the state of all > threads, including my main thread, to "(running)" so that I can't > single-step through my program any more. If I try to say "next", I > get the error: > > Cannot execute this command while the selected thread is running. > > But I did nothing overt to start my thread. > > It never used to do this, but it happens regularly now. I'm not seeing this on my system (Windows 7, both 32-bit and 64-bit Cygwin). I debugged the emacs source, set a breakpoint, and stepped through the program when the breakpoint was hit. Could this be caused by BLODA interference (https://cygwin.com/faq/faq.html#faq.using.bloda)? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple