From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GSNqJdXZ2WayLCEAWB0awg (envelope-from ) for ; Thu, 05 Sep 2024 12:18:29 -0400 Received: by simark.ca (Postfix, from userid 112) id 834501E353; Thu, 5 Sep 2024 12:18:29 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 EF8741E08F for ; Thu, 5 Sep 2024 12:18:28 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DFADB384B810 for ; Thu, 5 Sep 2024 16:18:27 +0000 (GMT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id B0B253858C32 for ; Thu, 5 Sep 2024 16:18:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B0B253858C32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=umanwizard.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=umanwizard.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B0B253858C32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725553083; cv=none; b=Ru6gCjpLb7bO/VtWh5MTvb5n494UeYWLb6LFjr1pBiFKRJFzC6ECt1am5KT8YOgAvpnYahz9eMQ0brdYjsJh9j1FQCE2IFSHLMVVwyRtWEDkfaUdUXXmlQo3iFM4CKcVGIjNQHHleywDYYmx3orF+4qNbyH0Hu9fRz6hkc5RNhM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725553083; c=relaxed/simple; bh=+vOeXn+BEFCz5ksUiP6syjO0u+6SC6il/ghKCUzieZA=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=IaewCrXnMNjUIC581M1Z3bwliweMFnTcsI/gns6rjhbjZIa20yrDNZp6CjpKi3PUpaFePeivTYS4O2+AT2HHc3Cuw2Uk9Ng7HTNGxuplVGHW6qp0i42BeMJ0dNLeqAUadyAXCPqLZPi0qfElKfaEvGtsL5SEG1siXw4UA1sQWcw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.umanwizard.com ([54.203.248.109]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smFBH-00077R-Oc for gdb@gnu.org; Thu, 05 Sep 2024 12:18:01 -0400 Received: from localhost ([207.237.149.238]) by smtp.umanwizard.com ; 5 Sep 2024 16:17:56 +0000 X-Fes-Received-For: gdb@gnu.org X-Fes-Received-From: From: "Brennan Vincent" To: gdb@gnu.org Subject: Set debug-file-directory from environment variable? Date: Thu, 05 Sep 2024 12:17:55 -0400 Message-ID: <87plpif51o.fsf@taipei.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Fes-Encrypted: true X-Fes-Ehlo-Domain: localhost Received-SPF: pass client-ip=54.203.248.109; envelope-from=brennan@umanwizard.com; helo=smtp.umanwizard.com X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hello, Would folks be okay with a patch to take debug file directories from an environment variable, e.g. GDB_DEBUG_FILE_PATH ? An example of when this is could be useful is for Guix users: the variable could be automatically set up when spawning a Guix shell that contains debug packages. But I'm guessing it would be useful in other situations too.