aadsm added a comment.

> I don't think this does what you think it does. The $() doesn't give you the 
> process id of anything -- it substitutes a string by the result of running 
> that string as a shell command. So, the PID variable would get the (entire) 
> stdout of %s.out

I'm confused here, "the PID variable would get the (entire) stdout of %s.out" 
is exactly what I'm expecting to happen, the stdout of the program is its pid.

I was finally able to figure out what the issue was. I thought `pause()` would 
continue once the debugger attached because it sends a signal, but that doesn't 
seem to be the case?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96637

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

Reply via email to