[Lldb-commits] [PATCH] D96637: Make sure the interpreter module was loaded before making checks against it

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 19 11:28:04 PST 2021


clayborg added a comment.

In D96637#2573758 <https://reviews.llvm.org/D96637#2573758>, @aadsm wrote:

>> 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?

It does on mac , and I don't think it does on linux.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96637



More information about the lldb-commits mailing list