DavidSpickett wrote:

> Yes, to handle the 64-bit debuggees in AIX, we would need the ptrace64 call. 
> It will apply to all the ptrace calls in general.
It is used in the NativeProcess/Thread plugins, but since those are new plugins 
only for AIX they dont need an #if AIX.

Thanks. Yes I see that the majority of existing calls are in, for example, 
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp. And a lot are going 
via a Ptracewrapper that is also per platform.

This PosixFork is one of the few doing a direct call in generic code.

I am wondering if it should be `#if there is ptrace64` but I don't think so 
because this seems to be AIX specific. Even if it existed elsewhere I'd rather 
not silently use it without knowing how it behaves.

https://github.com/llvm/llvm-project/pull/120390
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to