Re: [lldb-dev] lldb-mi doesn't propagate host environment variables

2018-07-02 Thread Jim Ingham via lldb-dev
In lldb, this behavior is controlled by the setting: target.inherit-env Passing debugger environment is equal parts handy (getting a DISPLAY variable right for instance) and a cause for confusion. Not sure which is the most useful default. lldb defaults to true. But I can see an argument tha

[lldb-dev] lldb-mi doesn't propagate host environment variables

2018-06-29 Thread k.baladurin via lldb-dev
Hello! lldb-mi doesn't propagate host environment variables while lldb does it: $ cat env.c #include #include int main() {     printf("VAR = %s\n", getenv("VAR"));     return 0; } $ gcc env.c -o env $ /home/kbaladurin/Downloads/llvm-x64-7.0/bin/lldb -v lldb version 7.0.0 $ VAR=1 /home/kbaladu