linux-mips
[Top] [All Lists]

Re: unwind_stack() and an exception at the last instruction (after the e

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: unwind_stack() and an exception at the last instruction (after the epilogue)
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 14 Dec 2006 02:47:04 +0100
Cc: dmitry.adamushko@gmail.com, ths@networkno.de, linux-mips@linux-mips.org
In-reply-to: <20061214.011651.31638583.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <b647ffbd0612130445r14895d70p4ea313f94dee8b41@mail.gmail.com> <20061213135222.GB25904@networkno.de> <b647ffbd0612130640r10bedda5l491679df882fe2e@mail.gmail.com> <20061214.011651.31638583.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Thu, Dec 14, 2006 at 01:16:51AM +0900, Atsushi Nemoto wrote:

> While current unwind_stack() is not perfect, any attempt to make it
> robust is welcome.  But you might have to analyze _all_ code if you
> wanted to save _all_ case.  I think UNIX's "90% principle" is good
> enough here.

If the current unwinder should ever become a problem we have the option
of the DWARF2-based unwinder as backup.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>