From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id hGxjAVuLa2lFvQcAWB0awg (envelope-from ) for ; Sat, 17 Jan 2026 08:15:07 -0500 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=g/LOp88z; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EA9CE1E070; Sat, 17 Jan 2026 08:15:06 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 352921E070 for ; Sat, 17 Jan 2026 08:15:06 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id B0CC14BA2E34 for ; Sat, 17 Jan 2026 13:15:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0CC14BA2E34 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=g/LOp88z Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 178214BA2E1E for ; Sat, 17 Jan 2026 13:14:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 178214BA2E1E 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 178214BA2E1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768655680; cv=none; b=eWcUt/CHeSHjh/KFA5e88Kk/xPxd8f00/4i9XvqsTnL/C5W/XX1GDLr5aIXOIz3+B0x1oxyyi09yZNc2GpzC+8ZIx03scUAWlw1olWAftC/P88NK8f541bC8QapxrdQu4Y2Gsy+bU2tV6UyiOOCltoqDomdpAMLgL/BcPYqkqSk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768655680; c=relaxed/simple; bh=jGa32fqpf1lba7HRm9OfgahbUUTh2Gq9kCKo+3gYFTw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=kxYeGOnlPG2bDemfnDtqpayKnlOudc4GBdLnSuxGYtpfscnpVNTamwXH9GZwwFWmliHSTVkCkXJTiN9X52ke6OGdlOAGDtIrur8pIUQ+XtF+Zw/hJqY25aGeXa1dax492xNQFz0uFvJZbWoPpzoarX9VY2/f8YeBevGIhLNN8QY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 178214BA2E1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768655679; 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=22I1fzVMENq/Pg+ouxbnl+1g2GUQS0K+jesisSApbuE=; b=g/LOp88zOpOeeUD1tRnEOidvVbICM2cGUYXxzGWycc/u43ftdtMd1gGlIlfg+HryZALdOa MC2SZHpQqxw16apviDKOrGW0+y0oJ6hyjA1NsoYJk+ERIVQSiIMkdjN0fsrWEMBDhS6kYa PipCypDvE9lmULTHAru1TswQQRAnMME= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-490-plxezESZP4-yQPLyEmijdw-1; Sat, 17 Jan 2026 08:14:38 -0500 X-MC-Unique: plxezESZP4-yQPLyEmijdw-1 X-Mimecast-MFC-AGG-ID: plxezESZP4-yQPLyEmijdw_1768655677 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-477c49f273fso28196125e9.3 for ; Sat, 17 Jan 2026 05:14:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768655677; x=1769260477; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=22I1fzVMENq/Pg+ouxbnl+1g2GUQS0K+jesisSApbuE=; b=PHMkSCRQv/riw3SQKp1RzEHA85Is27BXpkt3oxMUrYMm/Eu8KzpFmSZIcXUXjSiRFC ScGpOz4YTffUwxTlEe9ftlo4GIKMrjSl2S0dt5NxyTFO1n8+fwFmjfO9U8fQ2wjadX0V J5aGs+5nLfrwU1RxA4vns11goOMVL1bVQ7sPmkUkQDdBsD09dBY9OOHR8e/IuHzN6Lxj ZCox8FrCgfeyYXLsHsCFa3cP/0hAjPztjI3dIAWqf4X2tpaZ+CCoFLJGcdT1u50azxdP wgdL97+IuZNxSZmDX7J6iytxEqc+4kYZZn48ip2sM+VLJ4kQGXqto2H+BR1LWkx4B3HJ tfYA== X-Gm-Message-State: AOJu0YwOTctZHH+YWKuZTg2sr1/10KIUH+Y33K0w6exrNOk7MVrz3NUu 5EMejAmgwHZhT7ramVb2l18OZc/kSmevuemdJrfD6ThnKxOKxzcRYaG6HHmexIcQjIMDs6zCMDa P65KVkOVBiUxhyczECMlPOBBFskMGwHR4QR2i23FY498jXPfGnAa5c0zF3/rFo1u5alJpSGU= X-Gm-Gg: AY/fxX76lFumo4Xj+nxH5G8JUY74Bxa76U3vpJWxrhCaTqysGHEXn6/R6/v4PtHFw6W cB8FuTW0Jd98V1t+5az1h0Kw3JEC3Ictcx4iWdYd8mM3RuSQ6qGGzQPmrGEihmtJT5bS85fIgwv 0wqtY5zwyVJSCJpjjQ7KvoVuWhgMNp7rtdMbkwbVn9G9hkz4LBt59F1eWCdkPenK07jYpqiVEb1 UDpTACxiHF3ZL136yKHv44/OuuVZt9oZNXHC+zda5PYydKKI5vqNVwGvvt0wrJo/es1dScWU2jr NIEedQwm5roWSto8zV98mLnNDlLBMkc7xiPTpc4IVeS2S1ia3c2JC3C4A3ZFQVhp1Fugli/IuY8 e/C9TLC7FQRA+p8EKTtfa6jfJ+UbyJ1KJtw== X-Received: by 2002:a05:6000:2410:b0:430:f437:5a6d with SMTP id ffacd0b85a97d-43569998f5dmr7389455f8f.22.1768655676976; Sat, 17 Jan 2026 05:14:36 -0800 (PST) X-Received: by 2002:a05:6000:2410:b0:430:f437:5a6d with SMTP id ffacd0b85a97d-43569998f5dmr7389435f8f.22.1768655676595; Sat, 17 Jan 2026 05:14:36 -0800 (PST) Received: from localhost (92.40.185.101.threembb.co.uk. [92.40.185.101]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43569926ffcsm11035473f8f.18.2026.01.17.05.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jan 2026 05:14:36 -0800 (PST) From: Andrew Burgess To: Tom Tromey , Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] [gdb/tui] Fix crash with debuginfod query In-Reply-To: <87fr85ehi8.fsf@tromey.com> References: <20260114172833.1824823-1-tdevries@suse.de> <87fr85ehi8.fsf@tromey.com> Date: Sat, 17 Jan 2026 13:14:35 +0000 Message-ID: <87ms2cqt38.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: npKRcnrQNfwRPNhkiDv5CU1n1amSeC0HqpEVcMyuYYI_1768655677 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Tom Tromey writes: >>>>>> "Tom" == Tom de Vries writes: > > Tom> PR tui/31449 reports a SIGFPE when the debuginfod query happens while enabling > Tom> TUI using the "tui enable" command: > > What if we just got rid of the query and debuginfod was either on or off. I do see some value in having the query. Users can choose to disable the feature if they know it's going to end up downloading a bunch of stuff they don't care about. But I could imagine maybe flipping things around. Maybe between GDB prompts GDB could track how many downloads have been cancelled. If a user cancels 2 downloads then GDB could prompt the user at that point: Would you like to disable debuginfod for this debug session (y/N)? That way users only need to take action if they area already hitting Ctrl-C to cancel downloads. I'm currently working on updating Aaron's debuginfod patches to add gdb-index and debug_line section downloading, so I could investigate the above idea as part of this work. Thanks, Andrew