On Tue, Oct 15, 2019 at 5:53 AM <oss...@puresoftware.com> wrote:
>
> I am working on delve (go debugger)  to provide support for ARM64 platform 
> but  syscall_linux,go doesn't support ARM64 platform.
> for getting reg values through Ptrace, we added following code in 
> syscall_linux,go ..
>
> ptrace(PTRACE_GETREGSET, pid, uintptr(elf.NT_PRSTATUS), 
> uintptr(unsafe.Pointer(&iovec)))
>
>
> can anyone suggest if i need to add support for ARM64 or is there any other 
> method to get DWARF values on ARM64 platform ..

The syscall package is more or less frozen.  Look at
golang.org/x/sys/unix instead, which does have the function
PtraceGetRegsArm64.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU1_UUCPcyUewR5bmtxaGDGZcwCusO8HXAtSbiOh0j65A%40mail.gmail.com.

Reply via email to