j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi!
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.
Attachments:
On 4/17/09, Igor Kovalenko igor.v.kovalenko@gmail.com wrote:
Hi!
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.