From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 78650383F849 for ; Mon, 15 Jun 2020 15:25:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 78650383F849 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-x431.google.com with SMTP id h5so17595846wrc.7 for ; Mon, 15 Jun 2020 08:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=naQP0vkLV5uT4PyiIsO7kMto3jhK1p0ELOR9PaX/WqE=; b=b8goXAA7XKC0jEqcRoUHWMrTAO3DEH6Cms8li+XuePONAUMf4WipqiTCB6CgT+fw9Y Qqsi7+ZWOFMdYQNBEm8bl7xuWxzue9CNVsCZCB9Aifo3xl3jp+Rbj6/znUFtEnyv3Iol J6auyLVuf/WSH+onoG1a06/WkwY+Pe5N7zh83Ovmj62VcyPIVKAgK/TznXWpzYg0RFUW ER7exG1k7O8nxUgDPO/r5692ihgPe7Mf4Z3MtzYRLkEhoLYW4lW8kFJqScZcyf+k4JvH 6ya7RU8ThwH6+C1ooMojLbkq3PERPe+3OZbTy03XqksQymd1RG0f+h46sWOr6SjfXAaI NP/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=naQP0vkLV5uT4PyiIsO7kMto3jhK1p0ELOR9PaX/WqE=; b=pnPYsc4nFu74RI5jbmZemGJSNYVMzB7rT7fe3wKbkAx1ZyxZqfDcdI52Ug4b6M8bNI W3xyE3/PTa33gZ6y6O5L74ZZcHHVAd159L2Xv0Esucta9Dm0rwh9WvLwbOSHQ/h1IzRZ ZFb8fxdF0WwW7E4tJ0XowyNzJU+FlP/kXFwR7MBm6hwebLbSCcG5TzD+IUTokJrm2Do0 +Xjwpu8euPKUwBuyg4P7uNhokqp8VZVrUPUBvKY0seLbkTNCLjf1dt+LdXwo9Yztdobd rlQMJRIn/C2evVnfKahkDByqXWMNrG7uQEDREzbOhuJLjmzi4LFCRtMFLy4SBXrTeroB RoUg== X-Gm-Message-State: AOAM532tLuFJxSNi9dK31/VC73caxQIryzSzULb2cEysvqNTUNzbo2Ck UjkaxX1hzD8Ppn1CyyMARExVn9P89VY= X-Google-Smtp-Source: ABdhPJy8LI9GfcxsSP/3m61FATgGXhzLlRrjkM0bMsZyUV6WVpvcuphl9kkzNa0KevjI0ZpKSsywEg== X-Received: by 2002:adf:e84e:: with SMTP id d14mr28440647wrn.31.1592234706309; Mon, 15 Jun 2020 08:25:06 -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 p16sm27069001wru.27.2020.06.15.08.25.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jun 2020 08:25:05 -0700 (PDT) Subject: Re: gdb show thread names To: Kamil Rytarowski , gdb@sourceware.org References: <030e3603-12ab-d3cb-afe7-2628acbc18e3@jguk.org> <2d9c1469-3b10-50b9-f13b-8031b4ee9356@netbsd.org> From: Jonny Grant Message-ID: <57201f6c-fc0b-2f67-679f-a06800b7279c@jguk.org> Date: Mon, 15 Jun 2020 16:25:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <2d9c1469-3b10-50b9-f13b-8031b4ee9356@netbsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 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: Mon, 15 Jun 2020 15:25:08 -0000 On 15/06/2020 12:42, Kamil Rytarowski wrote: > On 13.06.2020 02:16, Jonny Grant wrote: >> Hello >> Just wondering if gdb could show the thread names as they are created and deleted? >> > > As created generally no, as it gets a meaningful name usually after > creation from a dedicated syscall. > > If there is a legitimate use-case, I can implement reporting thread > rename for NetBSD and report in GDB. But as we would report thread > renames, what about other events? Not sure about other events, I only saw this useful use case. Thank you Jonny