interesting unwind problem with noreturn functions
Daniel Jacobowitz
drow@false.org
Thu Mar 2 15:15:00 GMT 2006
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
More information about the Gdb
mailing list