clayborg added a comment.

What Pavel said should work (there is always a "remote-<platform>" name for 
everything like "remote-linux" even if you are on linux to start with. The host 
platform assumes that everything comes from the current host.

That being said we also have a few ways to make this work without any changes:

  (lldb) platform select remote-linux -S 
/tmp/debug-[snip]-coredump.1869466.bL8C/sysroot
  (lldb) target create --core ...

Not sure if this would work:

  (lldb) setting set target.exec-search-paths 
/tmp/debug-[snip]-coredump.1869466.bL8C/sysroot
  (lldb) setting set target.debug-file-search-paths 
/tmp/debug-[snip]-coredump.1869466.bL8C/sysroot
  (lldb) target create --core ...

The first way is the best way I believe.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131212

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

Reply via email to