From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Michael Elizabeth Chastain , gdb-patches@sources.redhat.com Subject: Re: [patch] multi-arch INIT_FRAME_PC*; Was: New gdb 31 & 64 bit patches for S/390 Date: Sat, 16 Jun 2001 12:35:00 -0000 Message-id: <3B2BB513.2010207@cygnus.com> References: <200106161813.LAA20846@bosch.cygnus.com> X-SW-Source: 2001-06/msg00325.html 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