From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 4DB3E399692B for ; Sat, 13 Jun 2020 00:16:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4DB3E399692B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jguk.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=jg@jguk.org Received: by mail-wr1-x433.google.com with SMTP id e1so11642312wrt.5 for ; Fri, 12 Jun 2020 17:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=4wXCYDfmy1ys1HgQ/KnTm6Y9NzCEt5VuSQrdPTVUlIE=; b=bvGxXXKl6jcsl/m3Sb1T2OcPqrwXNYjSSYAFQl9LqSymb7WOQ+wqtzbWMqsRWL+s1W QuehQuhvNmx3PYr5i9XUvt+vgMfQpa6dKiSKkfzA73MaDFEKXspOaGCLZPQtgZUSYFhY ha+Cp2Pkm8IK3UGqH9iRiyWuYtw9dx2I53HoLgLgFpxKzO9qKzwxNbQus6VK/ZSmfUpg /js3X9rCrp01zgPGY2HnV8XMGlSdWksaYu1J4aczdvgpcgIqupOAq+V46/CC3TNGs+wr iSNshFPdYUMRLSB4AP/NhqsocNIjzA4jf7+Nh9vajFNR8IQT8PuqAk4eVOuydHVZVG2F fLXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=4wXCYDfmy1ys1HgQ/KnTm6Y9NzCEt5VuSQrdPTVUlIE=; b=NUJ7xuL5Q2zsHo8I1cG9WPd6Na412aVCYpLpxds1BRftdAQq+HfMBwhULHm7l3IlIs KHwxNoUiN7mUP4o8Lm5XOB8W3Cao16ufQ+NT1hlI9pUzfGmmGcTHGtefbrYTw0TJy701 cYB5rQaSvnloPZ9B9pbi1iLSdfhhynEe/9qQO50HD37pwbD5X5oQ6q/OrEcwLgaKskUG UQ+E51xj0qgochkwL52JACr3XAk+Dfvgf80WarEQfhKd/IwGPzccD64LL1zZS0XV6gZG PjYqswcRvGhogil9D+wtSe7MuGOzXk9XBRtm68fOTJKod1TW7M/quu5H0SzADw6rEhUM i3EQ== X-Gm-Message-State: AOAM530IFDoD+z/AKKF6ZGB9bkqrnFA+oRbBv7e9NJhrSlqfvtmkcvPl Rd8ZOFEZsBw5Z86YEn86trUc6NucWTU= X-Google-Smtp-Source: ABdhPJx7/V90JKjBh5CZLaYIbYPPiTS9X9Nao9prOsN8J1Y66h8GBCKUQBG7kEOd84xQKiy1EdLAxg== X-Received: by 2002:a5d:538e:: with SMTP id d14mr17032771wrv.174.1592007405523; Fri, 12 Jun 2020 17:16:45 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id t8sm10765363wmi.46.2020.06.12.17.16.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2020 17:16:44 -0700 (PDT) To: gdb@sourceware.org From: Jonny Grant Subject: gdb show thread names Message-ID: <030e3603-12ab-d3cb-afe7-2628acbc18e3@jguk.org> Date: Sat, 13 Jun 2020 01:16:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, TXREP, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 00:16:49 -0000 Hello Just wondering if gdb could show the thread names as they are created and deleted? [Thread 0x7fff695e9700 (LWP 3580240) exited] [New Thread 0x7fff98ff9700 (LWP 3580609)] $ cat /proc/3580609/comm ThreadPoolForeg Could be a race condition, if GDB showed the name, before it was renamed by the application, but still pretty useful to see the names. If I break, and type "info thread" I can see those still created. Jonny