[Lldb-commits] [PATCH] D107809: [lldb] Add new commands and tests for getting file perms & exists

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 7 09:40:10 PDT 2021


mgorny added inline comments.


================
Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:661-664
+    if (mode != llvm::sys::fs::perms_not_known)
+      response.Printf("F%x", mode);
+    else
+      response.Printf("F-1,%x", (int)Status(ec).GetError());
----------------
labath wrote:
> Unless I'm mistaken, the test does not actually run this code (as it tests the client bits).
Yes, this is the case. Adding tests for the server is a bit out of scope for what I'm working on.


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

https://reviews.llvm.org/D107809



More information about the lldb-commits mailing list