From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OH3+MoHwRWIcEwAAWB0awg (envelope-from ) for ; Thu, 31 Mar 2022 14:18:41 -0400 Received: by simark.ca (Postfix, from userid 112) id CEBA01F163; Thu, 31 Mar 2022 14:18:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6C7F21ED17 for ; Thu, 31 Mar 2022 14:18:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 162F63888C4C for ; Thu, 31 Mar 2022 18:18:41 +0000 (GMT) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by sourceware.org (Postfix) with ESMTPS id 871823839400 for ; Thu, 31 Mar 2022 18:17:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 871823839400 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f53.google.com with SMTP id u16so949386wru.4 for ; Thu, 31 Mar 2022 11:17:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=xF5CUJo99zaGIRYysGwjHr9TJWjNQ0rc0FW/XBf7cio=; b=M7ngWW0YnKUKjtF9c2dcgPEzRszGtKiNSgSVMT0b14opo/fIdaArFbaPP9mihMlSoR 61rKMgbK3zbReq/sjjLCIXNUcQDREdESTGavH03seph6F/GtUxcUMasyqrCOLu/Oyaix Jh8ITHpl3ZeEf4Rc2XNf2zgPmIMhfgscVnwSa5Kj/vwcTdHkxlIIYB86IDG0/Pcur7tk Dqot+kK10ud2Bbr5GZUngb1VS7fXR6mPG6deibYCwL5+ff+nKNP/3xPgolr7jfnnprBF STG1pSQDh3d+1rZQJ16CPDssLKBteqa1euGnwb5KcEKY8AKSl26hSqi3neGawksRULJA qZTA== X-Gm-Message-State: AOAM532wmU13WdfcNaS/8JLZpmwCt78vpqZcZcLtJ7AkcifvkCKIGKoP uWPWcFGjeZac03e8IywIP2A= X-Google-Smtp-Source: ABdhPJzDFMImGG3vNt9F4nqT7x9R6aaa80lgaqXz4lgWcpvluU4OnN2Aat1qynPyivOmDgIzX+1Hhg== X-Received: by 2002:a5d:6546:0:b0:203:f121:298c with SMTP id z6-20020a5d6546000000b00203f121298cmr4995892wrv.427.1648750661434; Thu, 31 Mar 2022 11:17:41 -0700 (PDT) Received: from ?IPV6:2001:8a0:f924:2600:209d:85e2:409e:8726? ([2001:8a0:f924:2600:209d:85e2:409e:8726]) by smtp.gmail.com with ESMTPSA id p14-20020a5d59ae000000b00203dcc87d39sm193332wrr.54.2022.03.31.11.17.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Mar 2022 11:17:40 -0700 (PDT) Message-ID: Date: Thu, 31 Mar 2022 19:17:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 4/8] gdb/infrun: add inferior parameters to stop_all_threads and restart_threads Content-Language: en-US To: Simon Marchi , gdb-patches@sourceware.org References: <20220117162742.524350-1-simon.marchi@polymtl.ca> <20220117162742.524350-5-simon.marchi@polymtl.ca> From: Pedro Alves In-Reply-To: <20220117162742.524350-5-simon.marchi@polymtl.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2022-01-17 16:27, Simon Marchi via Gdb-patches wrote: > A following patch will want to stop all threads of a given inferior (as > opposed to all threads of all inferiors) while handling a vfork, and > restart them after. To help with this, add inferior parameters to > stop_all_threads and restart_threads. This is done as a separate patch > to make sure this doesn't cause regressions on its own, and to keep the > following patches more concise. > > No visible changes are expected here, since all calls sites pass > nullptr, which should keep the existing behavior. > OK.