Debug code. From time to time I still see 64 bit return values when they
should be 32 bit only. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23917 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ed854de770
commit
385627911c
@ -417,6 +417,13 @@ class PostSyscall : public AbstractTraceEntry {
|
||||
fReturnValue(returnValue)
|
||||
{
|
||||
Initialized();
|
||||
#if 0
|
||||
if (returnValue != (returnValue & 0xffffffff)
|
||||
&& kExtendedSyscallInfos[syscall].return_type.size <= 4) {
|
||||
panic("syscall return value 64 bit although it should be 32 "
|
||||
"bit");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
virtual void AddDump(TraceOutput& out)
|
||||
|
Loading…
x
Reference in New Issue
Block a user