Re: Getting access to environement variables
Paul Koning via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Feb 5, 2021, at 4:58 AM, vincent Dupaquis <[email protected]> wrote: > > Hello, > > 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