Just to be clear, > After some debugging, this change has turned to be wrong. syscall.c > will read system call arguments from struct frame. If you don't save > a4-a7 (NewABI uses these for >5 arguments) in struct frame, you have s/>5/>4/ > no way to know the values the user passed. :)