kastiglione added a comment.

> I don't think it's that unreasonable to do the same for `$HOME` to be able to 
> use imports relative to the `.lldbinit` file in both cases.

In theory I agree, but in practice I think it's unnecessary because `~` can be 
used (and possibly should be explicit), and because `$HOME` is a weird place to 
put lldb python scripts, as @labath stated.

Should we create some kind of `$PATH` variable for lldb to use for loading 
scripts? People could set this in their `~/.lldbinit`? This still wouldn't 
resolve the original bug report, but it may be a nice general addition.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89295/new/

https://reviews.llvm.org/D89295

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to