On 4/17/09, Igor Kovalenko email@example.com wrote:
After doing some homework with sparc64-elf-gcc -O0 :) I made this local change in sparc64-call-client.diff It allocates larger stack frame so unoptimized code could save arguments on stack, and then calls of_client_interface(). This at least allows me to use debugger with qemu and unoptimized sparc64 openbios build.
Maybe the real solution is to implement context switching (context.c switch_to()) so that we use the OpenBIOS stack instead of kernel stack? Though flushing windows may be tricky.
The delay slot instructions should be preceded by one extra space.