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

via lldb-dev lldb-dev at lists.llvm.org
Fri Dec 15 07:00:41 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35671

            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 at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org

See test added in <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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20171215/3c237ea5/attachment-0001.html>


More information about the lldb-dev mailing list