From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mP5zGA5RHWB7IAAAWB0awg (envelope-from ) for ; Fri, 05 Feb 2021 09:07:10 -0500 Received: by simark.ca (Postfix, from userid 112) id 5E7E01EFCB; Fri, 5 Feb 2021 09:07:10 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B7E781E939 for ; Fri, 5 Feb 2021 09:07:09 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 70F0739F148E; Fri, 5 Feb 2021 14:07:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70F0739F148E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1612534029; bh=W/tiUXiaSEwk+nDkXsrilzX1/zmLe/3hHpdle1HZFsQ=; h=Subject:In-Reply-To:Date:References:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Ho6DnD4ZvhHT5tv+G1KSrX6rsv3Xl2pyLf3WU+aw4r3+5YIAhcPIkeqUO9YnGJo3W fC1HGZKOhmJ5QeDShleF2cWHBlcHzviQI9S2jg0uLOFQZ+W/bCHckiDR5Qv8ZTkbDZ XvLaClr5fDpfInSZEYcvDTPf4oz0hUhpt325pWjQ= Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) by sourceware.org (Postfix) with ESMTPS id 45D403857C7E for ; Fri, 5 Feb 2021 14:07:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 45D403857C7E Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-05v.sys.comcast.net with ESMTP id 81UglOUlcK3eX81lKldR3Y; Fri, 05 Feb 2021 14:07:06 +0000 Received: from pkoning.akdesign.com ([73.60.223.101]) by resomta-ch2-07v.sys.comcast.net with ESMTPSA id 81lDlFwUwUbCg81lJlGzlG; Fri, 05 Feb 2021 14:07:06 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduledrgeeigdegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedvtdevjeeuhefhiedvteffjeeuffehkefgudeutdevffefkeeijeelfeevuefhgeenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehpkhhonhhinhhgrdgrkhguvghsihhgnhdrtghomhdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepvhdrughuphgrqhhuihhssehtrhhushhtvgguqdhosghjvggtthhsrdgtohhmpdhrtghpthhtohepghgusgesshhouhhrtggvfigrrhgvrdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: Getting access to environement variables In-Reply-To: <83736f95-5415-5963-12e7-36466185cef4@trusted-objects.com> Date: Fri, 5 Feb 2021 09:06:58 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <54B2CC51-8AA2-43AE-95F6-80F5B4BA8128@comcast.net> References: <83736f95-5415-5963-12e7-36466185cef4@trusted-objects.com> To: vincent Dupaquis X-Mailer: Apple Mail (2.3445.104.17) 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: , From: Paul Koning via Gdb Reply-To: Paul Koning Cc: gdb@sourceware.org Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" > On Feb 5, 2021, at 4:58 AM, vincent Dupaquis = wrote: >=20 > Hello, >=20 > I would like to point-out a possibly missing feature, which is the > possibility of accessing ENV variables in GDB commands. Assuming your GDB is built with Python scripting included, you can do it = via Python; "import os" then access environment variables as elements of = dictionary "os.environ". paul