[Lldb-commits] [PATCH] D88796: [lldb] Initial version of FreeBSD remote process plugin
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Oct 4 09:00:59 PDT 2020
mgorny added inline comments.
================
Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp:22
+
+//#include "Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD.h"
+#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
----------------
krytarowski wrote:
> Why this line?
Because otherwise it fails to compile? ;-)
================
Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp:487
+ int count, i;
+ vm = kinfo_getvmmap(GetID(), &count);
+ if (vm == NULL) {
----------------
krytarowski wrote:
> Maybe here and in other places: `struct kinfo_vmentry *vm = kinfo_getvmmap(GetID(), &count);`
You've mentioned previously that you'd prefer for us not to use `-lutil`. Should I inline the sysctls instead?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88796/new/
https://reviews.llvm.org/D88796
More information about the lldb-commits
mailing list