Download the source code and the patch for avr32 support.
strace is a system call tracer for SunOS 4.x, Linux, System V release 4, Solaris 2.x and Irix 5.x. It can trace a newly executed process or attach to a currently running process and display each system call the process does, along with the parameters passed. This can be very helpful for debugging how programs interact with the kernel.