On Fri, 2 May 2003, Robert Lunnon wrote:
OOPS forgot to attach the patch here it is
This pcontext() thing is very ugly:
+static void pcontext ( CONTEXT *context, int trap_code, void *cr2, int err_code){
Please do a const char *dbg_context ( CONTEXT *context ); function which converts the context to a string, and then use directly TRACEs instead of pcontext. There are examples in the code on how to do so via the wine_dbg_sprintf() function. See ./dlls/x11drv/xvidmode.c around line 460, in the _CDS_flags() function.