================ @@ -659,3 +659,16 @@ def test_fs_gs_base(self): pthread_self_val.GetValueAsUnsigned(0), "fs_base does not equal to pthread_self() value.", ) + + def test_process_must_be_stopped(self): + """Check that all register commands error when the process is not stopped.""" + self.build() + exe = self.getBuildArtifact("a.out") + pid = self.spawnSubprocess(exe, ["wait_for_attach"]).pid + self.setAsync(True) + self.runCmd("process attach --continue -p %d" % pid) ---------------- DavidSpickett wrote:
What I found was that `process attach --continue` would never return if you weren't in async mode. Whether that's a bug in itself I'm not sure. https://github.com/llvm/llvm-project/pull/67124 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits