This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: interesting unwind problem with noreturn functions
- From: Daniel Jacobowitz <drow at false dot org>
- To: Randolph Chung <randolph at tausq dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 2 Mar 2006 10:15:26 -0500
- Subject: Re: interesting unwind problem with noreturn functions
- References: <44070B97.2050707@tausq.org>
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