Proper stub exception printout
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Fri Jan 31 15:03:36 CST 2003
Hi all,
feel free to look at bug #1245 on why I'm "annoyed" about it. :)
- if there's a stub exception and we know it, then why not tell just that ?
Index: dlls/ntdll/exception.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/exception.c,v
retrieving revision 1.51
diff -u -r1.51 exception.c
--- dlls/ntdll/exception.c 12 Dec 2002 23:34:02 -0000 1.51
+++ dlls/ntdll/exception.c 31 Jan 2003 21:16:02 -0000
@@ -190,7 +190,7 @@
TRACE( "code=%lx flags=%lx addr=%p\n", rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress );
for (c=0; c<rec->NumberParameters; c++) TRACE(" info[%ld]=%08lx\n", c, rec->ExceptionInformation[c]);
- if (rec->ExceptionCode == EXCEPTION_WINE_STUB) TRACE(" stub=%s\n", (char*)rec->ExceptionInformation[1]);
+ if (rec->ExceptionCode == EXCEPTION_WINE_STUB) FIXME("Exception: program tried to call unimplemented function %s!!\n", (char*)rec->ExceptionInformation[1]);
if (send_debug_event( rec, TRUE, context ) == DBG_CONTINUE) return; /* continue execution */
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
More information about the wine-patches
mailing list