This is the mail archive of the
mailing list for the frysk project.
Re: Patch: add two accessors to Syscall
>>>>> "Yao" == Yao Qi <firstname.lastname@example.org> writes:
Yao> libunwind could not work with frysk core, and its java binding could
Yao> not do backtrace. Here is a bug about it.
Thanks, I added myself.
>> Also I noticed a few other oddities here and there. For instance,
>> SyscallEventInfo.returnCode returns a long -- but apparently does not
>> sign-extend the syscall's actual return value.
Yao> SyscallEventInfo.returnCode is only a abstract method that should be
Yao> overridden in sub-class, such as in LinuxPPC64, LinuxPPC, and LinuxIa32.
Yao> The return code is sign-extended in LinuxPPC64 at least.
I think it would be preferable if all platforms did the same thing. A
little javadoc in SyscallEventInfo explaining the return results of
these methods would help here... it would let folks porting to a new
platform know what to do. (javadoc everywhere in frysk would be quite