Mark Kettenis schrieb: >> Date: Mon, 18 Feb 2008 21:00:36 +0100 >> From: Markus Deuling >> >> Hi Mark, >> >> thank you very much for your effort. Maybe you can provide me your >> gdb.log file from this testrun? > > I can do better than that. I've figured out what the problem is ;) > > Looks like you removed just a little too much target-specific code > here. If you keep 'return_reg', things seem to work fine. I think > the problem is that the PC generally lives in the RA register in the > current frame (so you have to unwind it from the next frame), but that > you were looking it up in next frame instead. See the diff below. > > I also changed it to use trad_frame_addr_p() where appropriate. > > This diff, together with your Makefile.in changes and ChangeLog is ok > with me. Hi Mark, this is great ! Thank you very much ;-) I now committed the attached patch. ChangeLog: 2008-02-20 Markus Deuling Mark Kettenis * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by trad_frame_saved_reg. (trad-frame.h): New include. (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs instead of frame_obstack_zalloc. (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com