From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29909 invoked by alias); 15 May 2014 15:49:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 29898 invoked by uid 89); 15 May 2014 15:49:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mexforward.lss.emc.com Received: from mailuogwhop.emc.com (HELO mexforward.lss.emc.com) (168.159.213.141) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 15 May 2014 15:49:27 +0000 Received: from hop04-l1d11-si01.isus.emc.com (hop04-l1d11-si01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id s4FFn5VK012969 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 May 2014 11:49:08 -0400 Received: from mailhub.lss.emc.com (mailhubhoprd05.lss.emc.com [10.254.222.129]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Thu, 15 May 2014 11:48:43 -0400 Received: from usendtaylorx2l.lss.emc.com (usendtaylorx2l.lss.emc.com [10.243.10.188]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id s4FFmgLw006074; Thu, 15 May 2014 11:48:43 -0400 Received: by usendtaylorx2l.lss.emc.com (Postfix, from userid 26043) id C8FCB5C9D06; Thu, 15 May 2014 11:48:41 -0400 (EDT) Received: from usendtaylorx2l (localhost [127.0.0.1]) by usendtaylorx2l.lss.emc.com (Postfix) with ESMTP id 3B9465C97E6; Thu, 15 May 2014 11:48:41 -0400 (EDT) To: "lgustavo@codesourcery.com" cc: "gdb-patches@sourceware.org" Subject: Re: gdb.texinfo patch In-reply-to: <5374DE29.3010606@codesourcery.com> References: <10463.1400167510@usendtaylorx2l> <5374DE29.3010606@codesourcery.com> Comments: In-reply-to Luis Machado message dated "Thu, 15 May 2014 11:32:57 -0400." Date: Thu, 15 May 2014 15:49:00 -0000 Message-ID: <10665.1400168921@usendtaylorx2l> From: David Taylor X-EMM-MHVC: 1 X-RSA-Classifications: public X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00233.txt.bz2 Luis Machado wrote: > On 05/15/2014 12:25 PM, David Taylor wrote: > > In writing a new stub (to replace our old stub), I have discovered what > > I believe to be the rule for how GDB chooses which thread to stop during > > the initial connection. Knowing this sooner would have saved my some > > grief. Hoping to help the next person avoid that same grief, here's a > > patch (as a unified diff against gdb/doc/gdb.texinfo of GDB 7.7) to > > document it. [...] > Does GDB always want to stop the thread, even when "may-interrupt" is=20 > set to "off"? I wasn't aware of that variable, so I don't know. It will require some investigation. Certainly with non-stop mode turned on and may-interrupt at the default value, it stops it.