clayborg accepted this revision.
clayborg added inline comments.
This revision is now accepted and ready to land.


================
Comment at: 
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp:3698-3701
+    // If the process has exited, don't try to fetch more events from the
+    // server for it.  We wouldn't be in a correct state to handle them.
+    if (process->GetPrivateState() == eStateExited)
+      break;
----------------
You could put this up into the while condition?

```
while (!done && process->GetPrivateState() != eStateExited)
```



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101933

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

Reply via email to