From b2197ff21258cc48fc6ab93a9d90149fb899f8fa Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 12 Aug 2015 13:43:26 +0200 Subject: Fixed crashes with windows --- Linux_C_12/cCrossCall_121.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Linux_C_12/cCrossCall_121.c') diff --git a/Linux_C_12/cCrossCall_121.c b/Linux_C_12/cCrossCall_121.c index 83b1fa4..56b74e4 100644 --- a/Linux_C_12/cCrossCall_121.c +++ b/Linux_C_12/cCrossCall_121.c @@ -303,11 +303,6 @@ void WinKickOsThread (int64_t imess, OS *oos ) { -#ifdef PRINTCROSSCALLS - rprintf("WinKickOsThread ("); - printCCI (&gCci); - rprintf(")\n"); -#endif gCci.mess = imess; gCci.p1 = ip1; gCci.p2 = ip2; @@ -315,6 +310,14 @@ void WinKickOsThread (int64_t imess, gCci.p4 = ip4; gCci.p5 = ip5; gCci.p6 = ip6; +#ifdef PRINTCROSSCALLS + rprintf("WinKickOsThread ("); + printCCI (&gCci); + printf(" - data: %p, %p, %p, %p, %p, %p, %p\n", + gCci.p1, gCci.p2, gCci.p3, gCci.p4, + gCci.p5, gCci.p6, ios); + rprintf(")\n"); +#endif if (gOSThread != FALSE) { -- cgit v1.2.3