From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id F4SCER7EwmqxKTgAWB0awg (envelope-from ) for ; Sun, 04 Oct 2026 17:24:46 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Iqxblvll; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2380C1E050; Sun, 04 Oct 2026 17:24:46 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E0B0B1E047 for ; Sun, 04 Oct 2026 17:24:43 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C55844BA23E3 for ; Sun, 4 Oct 2026 21:24:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C55844BA23E3 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Iqxblvll Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id C1E744BA5433 for ; Sun, 4 Oct 2026 21:24:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1E744BA5433 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1E744BA5433 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1791149051; cv=none; b=BHu/zcvynYKEbKL2V0yDzEax6NZ/hOqQtpsnNW4JCUJl7XYRNciQhFH2GdNwi/M/IfPL5qRByEDJXo28VqnqkHzmKrE1aBcF/TKq5P24HqH+VYiVZjAZ74VTbnRGpD932vxpM3jk0nvjRAsrnzGB6imAN4gympJwS/IQwQ+/754= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1791149051; c=relaxed/simple; bh=oMz3VaryAP8GFSl+d3a4940FW8M9XtZA62jXhJUMfUo=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=qSzbE14BRwkvujo9Zdc6brRoB8POeSlFpuc5IJ99iK/mKe/LtCTmSiw0qM9OmZPC3w/mZ5YHPmCML3i23tWHB4RtsYSPFJHN86Wy07lvcRbZ1Whakoq1sI9Te6wdCYqSW2nFzvOAsUy9hAXDBEAyUyttzMJdan2N4QZTot75Ohk= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Iqxblvll DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1E744BA5433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1791149051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ehKQhDfacWlKVkXgDM2zVMu3zFygtcbCh6iVdZL9DaM=; b=Iqxblvllds6bPUllkwTI8+j4sSXOxHm6DLpZjii3gOJkiE9FeFADtvwkthR5seZ7WP5/2T 5kXo4hEzOQ1cymfXdLM2ISqtq7RXG0ABhHwJ99x4H+StrkO5F2L474ak8VucLWQWxqqNZO Td+oRxjr22vzUs3R/g0xU2qjGOJQHc8= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-UHXGta2-Msei2DBuk94uSw-1; Sun, 04 Oct 2026 17:24:06 -0400 X-MC-Unique: UHXGta2-Msei2DBuk94uSw-1 X-Mimecast-MFC-AGG-ID: UHXGta2-Msei2DBuk94uSw_1791149046 Received: by mail-vk1-f200.google.com with SMTP id 71dfb90a1353d-5decf4b8cf8so441623e0c.2 for ; Sun, 04 Oct 2026 14:24:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791149046; x=1791753846; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=ehKQhDfacWlKVkXgDM2zVMu3zFygtcbCh6iVdZL9DaM=; b=Rb4yC1IUzNMeUZtxcDcu08HIGeCtnvFJtV4X1sDr536W8bsA70wqd/EtCKua6Udk8I GUE2RLBgRx107V9KH5zPGF7qRiQDJF5N3UH3M4fGOtwb89Y74yziG1DgVN1jyWm9eNF2 TZqiTLIj9a6xY0vGd3/br/TLvN46Sl/ParU/udG+ME1KDlFr4VfgFKWN8n9JELiRhQia JUd9JcXI6BVzT9kn7QmO5opD4jGIiEki6GNpve7zo1A1gCkfSV4K3ULxIIDRWF+L5Iu6 PH5VBAN63P1BmZr6CeHAxmMukZvKxbAXXpUXWFcR9FvO0OOm4DxmiVPtSNCKeLJvKst8 K4VA== X-Forwarded-Encrypted: i=1; AKwUvBwLbFhjBqDXCbSAV/XIWrPNqxr6xaUrUZQt2pchRIUQfF2XRCFJCAsmOSvvlz0IOsvuivN7KqfQ3tVTVA==@sourceware.org X-Gm-Message-State: AFq9FYJoVJ7Mp8nfMAEUu4fCZdKXEiuePWZevED11hV+SpRcFBOA6DZ0 g3jXH4GiuAIAQBGjZof+DPf5ELI8B4kGVdnpOkwpZ06pR1xgN1zASF7Xp66L94hJ/9HIyzL5lKV kaJNCCz69gdoBIfIUu36uublVPJTt34zWMwm0E8D7c4XEHaW+KNvnwEqLGnTr3sxpHJNrJXHbLM cBqiBS2S0cRHv9KrtW9iwdMwWcpEPirErFmtuwNQ== X-Gm-Gg: AYBFou3pzUonT6xnpXyxmkDEg3dHHewWinoX80rLdVq0afkE8wBJGZ1hzxCS63Racgo 9k1RkR0WcYT28PBYmDXjk2D/GtjBE96b8lFNKeEKu4/YiAXtREfOmOm9dr6XF4GPUs6xgjpSviv B+xBmoUKt2gqtCWs32026LNTPTeMH9szVziw9kVBlL/sia0kPgxRGI1OQGa0Y= X-Received: by 2002:a05:6102:5809:b0:7c1:bc57:c7f5 with SMTP id ada2fe7eead31-7c1bc57d57cmr1350508137.12.1791149045769; Sun, 04 Oct 2026 14:24:05 -0700 (PDT) X-Received: by 2002:a05:6102:5809:b0:7c1:bc57:c7f5 with SMTP id ada2fe7eead31-7c1bc57d57cmr1350507137.12.1791149045382; Sun, 04 Oct 2026 14:24:05 -0700 (PDT) MIME-Version: 1.0 References: <20260929190349.312877-1-ahajkova@redhat.com> <20260930204013.717302f1@f44-mesa-1> <20261001154858.0995879d@f44-mesa-1> <87bj9cf09i.fsf@tromey.com> In-Reply-To: <87bj9cf09i.fsf@tromey.com> From: Alexandra Petlanova Hajkova Date: Sun, 4 Oct 2026 23:23:53 +0200 X-Gm-Features: AclHuK-darooX9tNoRBf1qATscEfo3eFMiC_5mFGPGEdh9bWHr-75A2Y-RUtmYk Message-ID: Subject: Re: [RFC PATCH v2] gdb: Add drgn-why-sleeping command To: Tom Tromey Cc: Kevin Buettner , gdb-patches@sourceware.org, Tom de Vries , Andrew Burgess , Pedro Alves X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: M-JOdwv_lDOJDZMCmnU-ZR_AH9owp9vhGAstF30T4AM_1791149046 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000009721da065d0a624d" X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org --0000000000009721da065d0a624d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 2, 2026 at 8:03=E2=80=AFPM Tom Tromey wrote: > >>>>> "Kevin" =3D=3D Kevin Buettner writes: > > Kevin> If we had some sort of user-facing contrib directory, it could be > Kevin> placed there. Alternately, as the AI reviewer suggested, it could > Kevin> go into a contrib directory in the drgn package. > > FWIW this latter approach makes sense to me. One idea behind the Python > extension work is that project-specific things can be shipped with that > project, and don't need to be in gdb itself. > > thanks, > Tom > Hi Tom, This command is intended for user space debugging while drgn is currently used to debug only the kernel. Most user space developers are unaware that such a tool even exists. If this script were part of drgn, only a few people would know about its existence. If shipped as a part of GDB, it would be exposed to the regular GDB users who would actually debug multi-threaded user space programs. Thank you, Alexandra --0000000000009721da065d0a624d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--0000000000009721da065d0a624d--