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-...@lists.llvm.org
          Reporter: lab...@google.com
                CC: llvm-bugs@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 on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to