<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Debugserver does not propagate environment when launching with a pre-loaded inferior"
   href="https://bugs.llvm.org/show_bug.cgi?id=35671">35671</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Debugserver does not propagate environment when launching with a pre-loaded inferior
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>labath@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>See test added in <<a href="https://reviews.llvm.org/D41070">https://reviews.llvm.org/D41070</a>>. 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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>