[strace/strace] [RFC] Add 64-bit LoongArch support (PR #205)

Dmitry V. Levin notifications at github.com
Sat Jan 8 10:47:39 UTC 2022


>     regs->orig_a0 = regs->regs[4];
>     regs->regs[4] = -ENOSYS;
>     nr = syscall_enter_from_user_mode(regs, nr);

This way the first syscall argument won't be available for ptracers because `regs->orig_a0` is not exposed in `struct user_pt_regs` and not handled by `gpr_get` and `gpr_set`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/205#issuecomment-1007953444
You are receiving this because you are subscribed to this thread.

Message ID: <strace/strace/pull/205/c1007953444 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220108/86b4df2c/attachment.htm>


More information about the Strace-devel mailing list