[Bug 35671] New: Debugserver does not propagate environment when launching with a pre-loaded inferior

Bug ID 35671
Summary Debugserver does not propagate environment when launching with a pre-loaded inferior
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter labath@google.com
CC llvm-bugs@lists.llvm.org

See test added in <[https://reviews.llvm.org/D41070](https://reviews.llvm.org/D41070)>. When run against
debugserver, the test fails because the inferior does not find the variable in
its environment.

I tried debugging /usr/bin/env this way, and it printed nothing, so I guess
it's not propagating anything (just like lldb-server wasn't before that patch).

I am not sure how much we care about the launch mode of debugserver, but in any
case, it sounds like a bug. For the time being, I will disable that test on
debugserver, but I'll take a look at how easy will it be to fix it.

labath@google.com changed bug 35671