public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "khuey at kylehuey dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug remote/29475] New: No way for remote protocol to report the environment Date: Thu, 11 Aug 2022 18:20:06 +0000 [thread overview] Message-ID: <bug-29475-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=29475 Bug ID: 29475 Summary: No way for remote protocol to report the environment Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: remote Assignee: unassigned at sourceware dot org Reporter: khuey at kylehuey dot com Target Milestone: --- gdb has `show environment` which shows the environment as seen by gdb. There's also some remote protocol support for `set environment`/`unset environment` for launching an inferior, but there's nothing to read the environment of an already existing inferior. I think it would make sense to add `info proc env[iron]` that reads the appropriate /proc/<pid>/environ file, rely on the vFile remote stuff to make this work, and document the limitations of `show environment`. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2022-08-11 18:20 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-11 18:20 khuey at kylehuey dot com [this message] 2022-08-12 17:02 ` [Bug remote/29475] " tromey at sourceware dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29475-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).