sim: Add a suppression mechanism to the SyscallReturn class.
authorGabe Black <gabeblack@google.com>
Fri, 22 Nov 2019 23:38:30 +0000 (15:38 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 4 Dec 2019 04:29:50 +0000 (04:29 +0000)
commitf7cb03f493a0cf54579dc0f6a921fecde8cab193
tree653f822ead826167b1e837766d9be5ebd00272e5
parent89d50b0c9291f62aa8ffeac56ef277d5ee688adb
sim: Add a suppression mechanism to the SyscallReturn class.

It makes more sense to specify whether something should be returned
based on the return, not intrinsically on the syscall. This is
especially true in cases like execve where the expected behavior
is not constant.

Jira Issue: https://gem5.atlassian.net/browse/GEM5-187

Change-Id: I95b53b6d69445c7a04c0049fbb0f439238d971e8
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23166
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/syscall_return.hh