PATCH: ppc fix
Marcus Meissner
meissner at suse.de
Wed Oct 30 06:12:18 CST 2002
Hi,
Changelog:
powerpc instruction pointer is Iar, not Eip.
Index: dlls/ntdll/signal_powerpc.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/signal_powerpc.c,v
retrieving revision 1.5
diff -u -r1.5 signal_powerpc.c
--- dlls/ntdll/signal_powerpc.c 28 Oct 2002 23:56:58 -0000 1.5
+++ dlls/ntdll/signal_powerpc.c 30 Oct 2002 12:11:48 -0000
@@ -395,7 +395,7 @@
rec.ExceptionCode = EXCEPTION_WINE_ASSERTION;
rec.ExceptionFlags = EH_NONCONTINUABLE;
rec.ExceptionRecord = NULL;
- rec.ExceptionAddress = (LPVOID)context.Eip;
+ rec.ExceptionAddress = (LPVOID)context.Iar;
rec.NumberParameters = 0;
EXC_RtlRaiseException( &rec, &context ); /* Should never return.. */
restore_context( &context, HANDLER_CONTEXT );
More information about the wine-patches
mailing list