* exception.c (arch_handle_exception): use ctx->SC_EBP in
end_of_stack check as suggested by Linus Upson <linus@linus.com>
svn path=/trunk/mono/; revision=4159
void handle_exception ((struct sigcontext *ctx, gpointer obj)
{
- if (ctx->ip < mono_end_of_stack) {
+ if (ctx->bp < mono_end_of_stack) {
/* unhandled exception */
abort ();
}
+2002-04-30 Dietmar Maurer <dietmar@ximian.com>
+
+ * exception.c (arch_handle_exception): use ctx->SC_EBP in
+ end_of_stack check as suggested by Linus Upson <linus@linus.com>
+
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* x86.brg (LDLEN, UNBOX): removed unnecessary NULL check.
g_free (tmp);
}
- if (ctx->SC_EIP < (unsigned)mono_end_of_stack)
+ if (ctx->SC_EBP < (unsigned)mono_end_of_stack)
arch_handle_exception (ctx, obj);
else {
g_assert (cleanup);