Valgrind can't *quite* handle Adobe InDesign yet
Alexandre Julliard
julliard at winehq.org
Thu Feb 28 08:46:15 CST 2008
"Dan Kegel" <dank at kegel.com> writes:
> http://bugs.kde.org/show_bug.cgi?id=126389
> means that valgrind can't yet handle apps that
> throw exceptions during regular operation.
> Like, say, Adobe InDesign's installer.
> I would like to valgrind that to track down
> http://bugs.winehq.org/show_bug.cgi?id=11757
> but I can't because valgrind doesn't handle fxrestor.
For debugging you can disable use of fxrstor with this:
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index a6ca6fd..8ba0590 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -125,7 +125,7 @@ typedef ucontext_t SIGCONTEXT;
#define ERROR_sig(context) ((context)->uc_mcontext.gregs[REG_ERR])
#define FPU_sig(context) ((FLOATING_SAVE_AREA*)((context)->uc_mcontext.fpregs))
-#define FPUX_sig(context) (FPU_sig(context) && !((context)->uc_mcontext.fpregs->status >> 16) ? (XMM_SAVE_AREA32 *)(FPU_sig(context) + 1) : NULL)
+#define FPUX_sig(context) NULL
#define VM86_EAX 0 /* the %eax value while vm86_enter is executing */
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list