Merge pull request #1668 from alexanderkyte/bug1856
[mono.git] / mono / mini / exceptions-ppc.c
index 4b8d1642c166986decc197df563fe673ba0bcb1d..b7c2e8d3a174503e4831a989da37122d80c1c79d 100644 (file)
@@ -333,8 +333,10 @@ mono_ppc_throw_exception (MonoObject *exc, unsigned long eip, unsigned long esp,
 
        if (mono_object_isinst (exc, mono_defaults.exception_class)) {
                MonoException *mono_ex = (MonoException*)exc;
-               if (!rethrow)
+               if (!rethrow) {
                        mono_ex->stack_trace = NULL;
+                       mono_ex->trace_ips = NULL;
+               }
        }
        mono_handle_exception (&ctx, exc);
        mono_restore_context (&ctx);