This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Java vs. Dwarf2 EH Unwinder


On Thu, Mar 28, 2002 at 09:31:26AM +0000, Andrew Haley wrote:
> Surely you'd need to pass the entire processor state to
> the _Unwind_RaiseException() variant.

Indeed.  I would be willing to create a variant that
took a sigcontext* or something.

> This would only work if the kernel saved the entire processor state in
> the sigcontext and then called the signal handler.  This does happen
> on some architectures, but not all, and therefore it's not a totally
> general solution.

There has to be enough information for the kernel to
restore enough state.  What do you have in mind as an
example of not-enough-state being saved?


r~


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