This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: interesting unwind problem with noreturn functions


On Thu, Mar 02, 2006 at 11:13:27PM +0800, Randolph Chung wrote:
> So when you unwind from error(), the hppa frame unwinder tries to unwind 
> from rp=b848c, which is in a different function from the actual caller, 
> and the unwinder gets all confused....
> 
> I suppose this is not a hppa specific thing, other architectures might 
> also encounter the same problem. How is it fixed there? Should the 
> unwinder be storing the PC as RP-offset? (This seems rather ugly, if not 
> wrong.)

Please take a look at frame_unwind_address_in_block.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]