HomePhabricator

debugserver: Propagate environment in launch-mode (pr35671)

Authored by labath on Dec 22 2017, 3:09 AM.

Description

debugserver: Propagate environment in launch-mode (pr35671)

Summary:
Make sure we propagate environment when starting debugserver with a pre-loaded
inferior. AFAIK, RNBRunLoopLaunchInferior is only called in pre-loaded inferior
scenario, so we can just pick up the debugserver environment instead of trying
to construct an envp from the (empty) context.

This makes debugserver pass an test added for an equivalent lldb-server fix.

Reviewers: jasonmolenda, clayborg

Subscribers: JDevlieghere, lldb-commits

Differential Revision: https://reviews.llvm.org/D41352

llvm-svn: 321355

Details

Committed
labathDec 22 2017, 3:09 AM
Differential Revision
D41352: debugserver: Propagate environment in launch-mode (pr35671)
Parents
rG68773859c83e: [ARM GlobalISel] Support pointer constants
Branches
Unknown
Tags
Unknown