================
@@ -4,16 +4,16 @@
 
 target create -l "ls" /bin/ls
 target list
-# CHECK: * target #0 (ls): /bin/ls
+# CHECK: * target #0 (ls): [[LS_PATH:.*]]
----------------
dzhidzhoev wrote:

Sorry, I was wrong here.

`target create` command accepts remote path. But `target list` prints full path 
to host's cached copy of the executable:
```
(lldb) target list
Current targets:
* target #0: 
C:\Users\vdzhidzhoev\.lldb\module_cache\remote-linux\.cache\16852127-4D24-D03C-BAB1-365C28DC2007-8BF46835\ls
 ( arch=aarch64-*-linux, platform=remote-linux )
```

So we can't just place 'ls' in the pattern matching line.

https://github.com/llvm/llvm-project/pull/95986
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to