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

António Afonso via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 18 20:36:14 PST 2021


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



More information about the lldb-commits mailing list