strace for powerpc
Arun Sharma
arun at sharma-home.net
Tue Nov 29 15:40:58 GMT 2005
Arun Sharma wrote:
>
> I needed to apply this patch to ports/devel/strace (please review)
>
> http://www.sharma-home.net/people/arun/misc/strace-powerpc.patch
>
> and symlink freebsd/i386 to freebsd/powerpc (perhaps the directory
> should be renamed?) to build.
>
>
Couple of things that I noticed aren't working well:
- when a system call fails, the return value and the error code are wrong.
- I'm not sure if frame.lr is the equivalent of regs.r_eip on i386. From
the powerpc manuals, it looks like SRR0 contains the address where the
syscall would return to.
-Arun
More information about the freebsd-ppc
mailing list