From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 19D6C3858D35 for ; Tue, 30 Apr 2024 02:39:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 19D6C3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 19D6C3858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::22e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714444795; cv=none; b=scLF+EWrhllpeVmpKLBsuVNQE8nb3ioGVo8/yLTJQaG5LOpYaCr8kzQe8mQanzTNIllKVssGGYH/DnREvyuwN3e2mzYnM95k3epKjxLU9WJUSGPIz3yLxmucoJ4RkCzUIohSmkl8+mpIGYSv1PkbIRGipjSB49mK289RP6WZEgU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714444795; c=relaxed/simple; bh=TnwiGdzV2EcdBQjWwwcNkiIKOzikCJY+DHHDh9+zs6c=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=cIDfigUoW/GBaInyKj41G0X2c9t1Axmy2sYpoMGXUALmmRiqSGvM5AqN4eqRKg4d9Ih2aqET3QAhd22e7JNbS+Djdd6dCXUeEll/VmEHf9RIcEMU0aSz6Aq54RtWtfRDMyMz+NYpDf3YVYDG9TbORu/AoIQyHX9A5mZ7vgwJGvo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3c84bb69c6fso2761219b6e.3 for ; Mon, 29 Apr 2024 19:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714444793; x=1715049593; darn=sourceware.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=z+5R69JWWI0Mxa3nJ93HTWqbcYhFuwF+OvakIs+rU3Y=; b=T/kOi0t2hRM0V3G/dqNWnJ5TrApueBLB+9eRRytsaq+zLDtqzkLZjrUjFRf2pdkBsI K85RqLyih1/YM2KrBy5xCWIAg0w2yvwyGxPe79Ue3smOnUSR0E95/t+pn9OvLdK+1wJ3 s+4iepLTcmLSOEHOqUJLGsWoEp+MNv4TuQ3XOewG/E62p6I9FkyrJQYtavXfDhOcImks iq11a2ejMaWTGVXX6VCGWarcu83qKrk+nrWWbthM2JmzRu7SGPAQ/SN5mkAnJTank++z daVhKRamD6gtZRBkxRH5WtKp403xDDoM64bcTifMGEra+0Uq3xNHiQw7qi1muz8GWOYV QFgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714444793; x=1715049593; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=z+5R69JWWI0Mxa3nJ93HTWqbcYhFuwF+OvakIs+rU3Y=; b=i7bp1Zg80pNOnUKktgDORs2X42aEpPTtdP8PC3bwji6GdR5RS/9J1O/loSvxO5D8RW wBlG7Efugm3J/GCwV9tIGvXtUB1yl+rRYAMhrUj9KxipzSFmvQ46FlW4B0u4LjK0sOps xFOeboaquBRbLllkZ+kS3PqBNR4wEmljqPSEGQ+FnOwbJDSkiuupQ3tzn0CDb5hDkGZy oHusIJCN/2pblqNMcQDRWjnhGuUYas3Y9mUWKK98qZHRQl0t8ZmbNmUCY8s4r1cHEdyq OqorTSy7EvaRlNnZM2nPEDu22OVDHhvVsv92kQFZn2Y7Yxpbxx03uCU6EZsKMLLpanEK 1Q4A== X-Gm-Message-State: AOJu0YzvT8FhhFMIZlERTFAfVL6fIUw8dN/d78CPY6n6deVfCxyU+CDc 9eB7x9jw6YYieP49Hwa0/1T6NhFxebCBs4dRoPiwi232Bn3t48n7+x+82JJWHKw= X-Google-Smtp-Source: AGHT+IGQDCiBAvVwMOQxTPynEI++kO0q+/26c8qae6xTc3AcIgkkDt6oJLh98zwDK4FVogYM8W2pRQ== X-Received: by 2002:a05:6808:638d:b0:3c8:4fc8:1302 with SMTP id ec13-20020a056808638d00b003c84fc81302mr1568441oib.57.1714444792672; Mon, 29 Apr 2024 19:39:52 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:3d56:74b5:22f4:1590]) by smtp.gmail.com with ESMTPSA id h20-20020a62b414000000b006f40cdb63fesm1371345pfn.30.2024.04.29.19.39.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 19:39:52 -0700 (PDT) From: Thiago Jung Bauermann To: Pedro Alves Cc: gdb-patches@sourceware.org, Christophe Lyon , Luis Machado Subject: Re: [PATCH v3 0/3] Fix attaching to process when it has zombie threads In-Reply-To: <50ccb6ae-6bf1-41cc-80f9-ca465a9d6aa7@palves.net> (Pedro Alves's message of "Fri, 26 Apr 2024 17:23:09 +0100") References: <20240424231551.1577518-1-thiago.bauermann@linaro.org> <50ccb6ae-6bf1-41cc-80f9-ca465a9d6aa7@palves.net> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Mon, 29 Apr 2024 23:39:49 -0300 Message-ID: <878r0vzi8a.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Pedro Alves writes: > 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 Thank you! Pushed as commits 3de4256ca3e8, 16a447bec542 and c930a077225e. -- Thiago