[Lldb-commits] [PATCH] D90102: [lldb] [Process/FreeBSDRemote] Enable watchpoint support

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 27 02:39:46 PDT 2020


mgorny added inline comments.


================
Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp:192-193
+    return Status("not implemented");
+  if (m_state == eStateLaunching)
+    return Status();
+  Status error = RemoveWatchpoint(addr);
----------------
labath wrote:
> Are you actually using this state for anything? Should this be an assert? Maybe `assert(m_state == eStateStopped)` even ?
I don't know, I am a copy-paste monkey ;-). I've presumed LLDB core controls in which states the method will be called.


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

https://reviews.llvm.org/D90102



More information about the lldb-commits mailing list