The patch below improves the CRIS prologue scanner by, at least partially, handling the case when the PC is still in the prologue, which takes care of 14 FAILs in recurse.exp and 2 FAILs in step-test.exp. I've also added a return_value implementation which gets rid of 32 FAILs and 30 KFAILs in structs.exp. (All tests in those test cases now PASS.) Ok to commit to trunk and 6.1 branch? 2004-03-03 Orjan Friberg * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset when the frame pointer is pushed. Don't set the frame pointer's address on the stack unless it's actually located there. Set the SRP's address on the stack correctly when the PC is still in the prologue. (cris_return_value): New function. (cris_gdbarch_init): Clear deprecated store_return_value, extract_return_value. -- Orjan Friberg Axis Communications