original_syscallno

Kyle Huey me at kylehuey.com
Mon Nov 10 16:03:08 PST 2014


The comment in Registers.h says

> /**
>  * This pseudo-register holds the system-call number when we get ptrace
>  * enter-system-call and exit-system-call events. Setting it changes
>  * the system-call executed when resuming after an enter-system-call
>  * event.
>  */

Does that mean that we sometimes change which syscall we're executing
when we get an enter-syscall-event?  Why do we do this?

- Kyle


More information about the rr-dev mailing list