From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by sourceware.org (Postfix) with ESMTPS id 68A2D3858430 for ; Fri, 15 Dec 2023 18:15:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68A2D3858430 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 68A2D3858430 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702664114; cv=none; b=sv/OeP3I7NNzxPN5lKdrAVon5H6jAIIM41qgMzG73S0q7ECQ/t903tQQqfVetusQBAhv7zIxrCYv1kzOkb4HeqY/d9/qzuiClFIyBsTMFBZuWlW1EL2Y3FdIBMvmBGUcnz7v9U+SFae2CrJhWp/FqoCDNeHT1p4JDnJEhjpW/C4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702664114; c=relaxed/simple; bh=cgkuN6kfPrRItqD/m4dFazwUWbDYSY3CihLoJ0rPIaE=; h=Message-ID:Date:MIME-Version:Subject:From:To; b=NdwCc0veXD52OFmfNRxMK+3dNqVJCPofLnp8tdRgy72KcTZdocExuZChUM6JZr8sOQFwQnX5YKQIlSKLzn0/34Wa05UCXL1b4TOwvNKEjSsw8R00ESaUBxhpxWBPOd4k4bI5vMgpFn/lovpRa1DB/tT4lBggyOM12TOW7XNN17c= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-40c236624edso10192085e9.1 for ; Fri, 15 Dec 2023 10:15:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702664112; x=1703268912; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m16RjcyW04+AulMcBSaSwEDmmO2vXyllW4kom5w/0TM=; b=OvstZrN+TGpFzm/jqMzaCoF3+QLDCXts/m5xRszpZH9YyTc99pxI0qeBT5DgwJ4cUu lBEEuqpcQ1iUEl6NEXwsBEH8atpB51T79PZFdP7nuIeh3FgB+uxNu0gTbKMlTSe7dCL4 N2rTfUXhkAgIPRZbRBJR5d21kft6LStlwIreh5KdyQEu21bEDzs/MFNuMWypTPupv/FN WIZ6e5MuFhhiO1PzYvDwkNCZYB/p9whZhlkViAmnscFM7NzNOJLawv/vnUYimMiy37pD EBQJFZ4buw3f4e8IOFv+T2B3mBIWDW4WuAoMbqUal3HGcgSOQoEhykvExK8aUaCcjg4T 37RA== X-Gm-Message-State: AOJu0YxzfBv13/nlLZNa1ofLWobck2nLLAJhU4nx5xyH7F14nj74G6Fr /jrEXFtDpkrtLk8G+AGb2qA= X-Google-Smtp-Source: AGHT+IHI+x8uArv33NqP/EtNtvMLvfpzhJeaMdj4awfEQ7joHXZmOpSdCPA9R+HRfK+uxahK9bbkEw== X-Received: by 2002:a05:600c:4591:b0:40c:6c80:c229 with SMTP id r17-20020a05600c459100b0040c6c80c229mr636716wmo.19.1702664112190; Fri, 15 Dec 2023 10:15:12 -0800 (PST) Received: from ?IPV6:2001:8a0:f923:4f00:43f0:3b0b:6626:3025? ([2001:8a0:f923:4f00:43f0:3b0b:6626:3025]) by smtp.gmail.com with ESMTPSA id be9-20020a05600c1e8900b0040596352951sm32534304wmb.5.2023.12.15.10.15.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Dec 2023 10:15:11 -0800 (PST) Message-ID: Date: Fri, 15 Dec 2023 18:15:06 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 14/31] all-stop/synchronous RSP support thread-exit events Content-Language: en-US From: Pedro Alves To: Andrew Burgess , gdb-patches@sourceware.org References: <20221212203101.1034916-1-pedro@palves.net> <20221212203101.1034916-15-pedro@palves.net> <87zg5byxal.fsf@redhat.com> <12c28313-3dac-46d5-b536-d71d5c9c7bbc@palves.net> In-Reply-To: <12c28313-3dac-46d5-b536-d71d5c9c7bbc@palves.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! On 2023-11-13 14:11, Pedro Alves wrote: > On 2023-06-07 18:52, Andrew Burgess wrote: >> In which case, should we perform some action to >> ensure that the regcache data is correctly freed? > > I wrote a couple patches to improve ownership around this, using > unique_ptr more. I will post them after this series (need to write > commit logs, etc.) > I finally sent patches for this: [PATCH 0/2] Use unique_ptr more in the remote target https://sourceware.org/pipermail/gdb-patches/2023-December/205179.html Pedro Alves