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:
@@ -418,7 +418,8 @@ class PostSyscall : public AbstractTraceEntry {
|
|||||||
{
|
{
|
||||||
Initialized();
|
Initialized();
|
||||||
#if 0
|
#if 0
|
||||||
if (returnValue != (returnValue & 0xffffffff)
|
if (syscall < (uint32)kSyscallCount
|
||||||
|
&& returnValue != (returnValue & 0xffffffff)
|
||||||
&& kExtendedSyscallInfos[syscall].return_type.size <= 4) {
|
&& kExtendedSyscallInfos[syscall].return_type.size <= 4) {
|
||||||
panic("syscall return value 64 bit although it should be 32 "
|
panic("syscall return value 64 bit although it should be 32 "
|
||||||
"bit");
|
"bit");
|
||||||
|
|||||||
Reference in New Issue
Block a user