public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/29475] New: No way for remote protocol to report the environment
@ 2022-08-11 18:20 khuey at kylehuey dot com
2022-08-12 17:02 ` [Bug remote/29475] " tromey at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: khuey at kylehuey dot com @ 2022-08-11 18:20 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug remote/29475] No way for remote protocol to report the environment
2022-08-11 18:20 [Bug remote/29475] New: No way for remote protocol to report the environment khuey at kylehuey dot com
@ 2022-08-12 17:02 ` tromey at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-08-12 17:02 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29475
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-08-12
Status|UNCONFIRMED |NEW
CC| |tromey at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-12 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 18:20 [Bug remote/29475] New: No way for remote protocol to report the environment khuey at kylehuey dot com
2022-08-12 17:02 ` [Bug remote/29475] " tromey at sourceware dot org
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).