[Lldb-commits] [PATCH] D91032: [lldb] [Process/FreeBSDRemote] Explicitly copy dbregs to new threads

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 10 05:00:03 PST 2020


labath accepted this revision.
labath added inline comments.


================
Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp:214
+      llvm::Error error = t.CopyWatchpointsFrom(
+          static_cast<NativeThreadFreeBSD &>(*GetCurrentThread()));
+      if (error) {
----------------
maybe this cast could be inside `GetCurrentThread`? Linux has it that way...


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

https://reviews.llvm.org/D91032



More information about the lldb-commits mailing list