From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 From: Paul Koning In-Reply-To: <83736f95-5415-5963-12e7-36466185cef4@trusted-objects.com> Date: Fri, 5 Feb 2021 09:06:58 -0500 Cc: gdb@sourceware.org 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-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, JMQ_SPF_NEUTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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: Fri, 05 Feb 2021 14:07:08 -0000 > 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