From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by sourceware.org (Postfix) with ESMTPS id 3AB353858CD1 for ; Fri, 26 Apr 2024 16:23:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3AB353858CD1 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 3AB353858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714148601; cv=none; b=gLZ395JkKYg3IvKGGL1C5ZXU7Pb6nm29qHuIAdGXoOHrKTMitG9dIUmni0Gd+b9gxwnvppSaz10MpZiNLygtwkgipdfquC+RCWj10/iQzaEdnKkNadhVVsET67S6ojzIEZCyxrxUFZGDFKD0sHEUsoEKy2YxQOKqggikpV50lUs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714148601; c=relaxed/simple; bh=QdCK78AYJ3Thf6qRrrBaAOuZ9GNd3cZNK+y8uGSK4gg=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=l9K6zNjxDsO92w+tU3h1ypIAgh0PLigySqNq1u8mOC/sig5WgpLCXCH0WYJmMGvnSfZHlshnjKZjs6lPiuQkPglBLmVQJra382fhEkcQz4p7ezEd+GsymyJMoLR+mb+whe3PneL3DviN8bOIN9i3XDg5LBQUf5B5byT80C+xwHU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2dd6c160eaaso29335891fa.1 for ; Fri, 26 Apr 2024 09:23:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714148599; x=1714753399; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xw5dPsmzxRfVJqnMY0ZSHo110vyJjZ3e5BqUtUc6KIo=; b=YM58nw15NA042XKG+of6wurG4jwOt7YgzPw6xiG4tcrLM18fAZpN+Smg1ckKSgNp2o cOgEoy2poNVdyHwPFJXy/Q7uXHP90w90Lqki/Hk0ReQnDP/RIPcLwXRBxwNCw0asA16w L2fsmi/49+sFy/c8nAnqufAXH04dC4Xq7QBSeZvJcnv1lzTOimEXlcsYkBzzfH0xgaNq ZP9vdKOx/p+LvDnyr5d7ybhdYx+jpOgUUHNIiBVeV5kxwoABTvMduNKLXYLdehoeHlRn JBUmMGe2G4A3iuoNKrTtbzu+ttWMgoStDQbrF2Pmp7/7FiEk3NPtLI5otdEgUlr0Oman R0dA== X-Forwarded-Encrypted: i=1; AJvYcCX+omNJLOOrC/NOPTnT+UzXn/+H2qqIigFl7pypD07VcthVfV5XcPIbpfJVoC3cKO0Ybtrxma0bgQvXBUx+kPXYa4Y3KlJ9BNRATA== X-Gm-Message-State: AOJu0YycEKOSLX8LH/3K4Sa1EAn4aJQB35IQwDFRrRVEjZigRRLIaU9s 3/pqusvpWhHOIowPVVIMm/eJqSQF4yRHSIAFagb2yTFtOiMMlivO3stKYg== X-Google-Smtp-Source: AGHT+IGyUlz8RFmtRhngxGVpr6nKooIR2ZAUGKwsLdyv64aBgFU5KpVjesLNCj49lI3zq6qh56TAJQ== X-Received: by 2002:a2e:930b:0:b0:2df:1e3e:3280 with SMTP id e11-20020a2e930b000000b002df1e3e3280mr2284763ljh.28.1714148598584; Fri, 26 Apr 2024 09:23:18 -0700 (PDT) Received: from ?IPV6:2001:8a0:f93d:b900:eefb:5e83:838f:bb4c? ([2001:8a0:f93d:b900:eefb:5e83:838f:bb4c]) by smtp.gmail.com with ESMTPSA id t13-20020a05600c198d00b00417da22df18sm35029158wmq.9.2024.04.26.09.23.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Apr 2024 09:23:18 -0700 (PDT) Message-ID: <50ccb6ae-6bf1-41cc-80f9-ca465a9d6aa7@palves.net> Date: Fri, 26 Apr 2024 17:23:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] Fix attaching to process when it has zombie threads To: Thiago Jung Bauermann , gdb-patches@sourceware.org Cc: Christophe Lyon , Luis Machado References: <20240424231551.1577518-1-thiago.bauermann@linaro.org> From: Pedro Alves Content-Language: en-US In-Reply-To: <20240424231551.1577518-1-thiago.bauermann@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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 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: On 2024-04-25 00:15, Thiago Jung Bauermann wrote: > Hello, > > This version just adjusts the comment in patch 1 as suggested by Pedro. > This reflects in patch 2, which has a slightly abbreviated version of the > comment. > > v2 of this series is here: > > https://inbox.sourceware.org/gdb-patches/20240420055652.819024-1-thiago.bauermann@linaro.org/ > > v1 of this series is here: > > https://inbox.sourceware.org/gdb-patches/20240321231149.519549-1-thiago.bauermann@linaro.org/ > > > Thiago Jung Bauermann (3): > gdb/nat: Use procfs(5) indexes in linux_common_core_of_thread > gdb/nat: Factor linux_proc_get_stat_field out of > linux_common_core_of_thread > gdb/nat/linux: Fix attaching to process when it has zombie threads > > gdb/nat/linux-osdata.c | 38 +++-------------- > gdb/nat/linux-osdata.h | 3 ++ > gdb/nat/linux-procfs.c | 97 ++++++++++++++++++++++++++++++++++++++++++ > gdb/nat/linux-procfs.h | 11 +++++ > 4 files changed, 116 insertions(+), 33 deletions(-) > For series: Approved-By: Pedro Alves