Re: [patch] multi-arch INIT_FRAME_PC*; Was: New gdb 31 & 64 bit patches for S/390

Andrew Cagney
2001-06-16T12:35:00Z

Oops,

As MichaelC just pointed out to me it might work fine for my target
(MIPS) but doesn't work fine for any other target :-(. Back traces fail
because blockframe.c no longer gets the default:

- #if !defined (INIT_FRAME_PC)
- #define INIT_FRAME_PC(fromleaf, prev) \
- prev->pc = (fromleaf ? SAVED_PC_AFTER_CALL (prev->next) : \
- prev->next ? FRAME_SAVED_PC (prev->next) : read_pc ());
- #endif
-

The attached should fix the problem. Michael, if it doesn't it may pay
to revert this and the other patch (until I find a thinking cap that
fits) :-/

Andrew