================
@@ -1304,6 +1304,9 @@ void GDBRemoteCommunicationServerCommon::
if (!abi.empty())
response.Printf("elf_abi:%s;", abi.c_str());
response.Printf("ptrsize:%d;", proc_arch.GetAddressByteSize());
+ std::optional<bool> non_resumable = proc_info.IsNonResumable();
+ if (non_resumable)
+ response.Printf("non_resumable:%d", *non_resumable);
----------------
Jlalond wrote:
Your intuition is correct, for now this works, but in the future (if we want to
support `O_TRACEEXIT`), we would need to update this. Currently I can get away
with attach returning a process info that we can't resume.
This is still very WIP, as I'm trying to sort with Greg the gotcha's. I will
break this patch up into pieces soon :)
https://github.com/llvm/llvm-project/pull/137041
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits