[PATCH 07/24] RISC-V sim: Add link syscall support.

Mike Frysinger vapier@gentoo.org
Mon Apr 19 04:09:39 GMT 2021


On 17 Apr 2021 10:58, Jim Wilson wrote:
> -      cpu->a0 = sim_syscall (cpu, cpu->a7, cpu->a0, cpu->a1, cpu->a2, cpu->a3);
> +      if (cb_target_to_host_syscall (STATE_CALLBACK (sd), cpu->a7) == -1)
> ...
> +	    case TARGET_SYS_link:

why not implement this in common/syscall.c so all ports can benefit ?
-mike


More information about the Gdb-patches mailing list