forked from Imagelibrary/binutils-gdb
sim: callback: extend syscall interface to handle 7 args
The Linux syscall interface, depending on architecture, handles up to 7 arguments. Extend the callback API to handle those.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2021-06-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* traps-linux.c (m32r_trap): Set s.arg4, s.arg5, s.arg6, and s.arg7.
|
||||
|
||||
2021-06-22 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
@@ -252,6 +252,10 @@ m32r_trap (SIM_CPU *current_cpu, PCADDR pc, int num)
|
||||
s.arg1 = arg1;
|
||||
s.arg2 = arg2;
|
||||
s.arg3 = arg3;
|
||||
s.arg4 = arg4;
|
||||
s.arg5 = arg5;
|
||||
s.arg6 = arg6;
|
||||
s.arg7 = arg7;
|
||||
|
||||
s.p1 = (PTR) sd;
|
||||
s.p2 = (PTR) current_cpu;
|
||||
|
||||
Reference in New Issue
Block a user