Also check the syscall number to avoid problems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23920 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3d779beaa3
commit
0c221f53a3
@ -418,7 +418,8 @@ class PostSyscall : public AbstractTraceEntry {
|
||||
{
|
||||
Initialized();
|
||||
#if 0
|
||||
if (returnValue != (returnValue & 0xffffffff)
|
||||
if (syscall < (uint32)kSyscallCount
|
||||
&& returnValue != (returnValue & 0xffffffff)
|
||||
&& kExtendedSyscallInfos[syscall].return_type.size <= 4) {
|
||||
panic("syscall return value 64 bit although it should be 32 "
|
||||
"bit");
|
||||
|
Loading…
Reference in New Issue
Block a user