Changeset 8775 for trunk/src


Ignore:
Timestamp:
Jun 26, 2002, 9:14:18 AM (23 years ago)
Author:
sandervl
Message:

debug updates + added OSLibDosGetTickCount

Location:
trunk/src/kernel32
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/dbglocal.cpp

    r8627 r8775  
    1 /* $Id: dbglocal.cpp,v 1.25 2002-06-09 19:55:53 sandervl Exp $ */
     1/* $Id: dbglocal.cpp,v 1.26 2002-06-26 07:14:17 sandervl Exp $ */
    22
    33/*
     
    138138"string",
    139139"char",
    140 "osliblvm"
     140"osliblvm",
     141"oslibtime",
     142"conodin32"
    141143};
    142144//******************************************************************************
  • trunk/src/kernel32/dbglocal.h

    r8397 r8775  
    135135#define DBG_char           115
    136136#define DBG_osliblvm       116
    137 #define DBG_MAXFILES       117
     137#define DBG_oslibtime      117
     138#define DBG_conodin32      118
     139#define DBG_MAXFILES       119
    138140
    139141extern USHORT DbgEnabledKERNEL32[DBG_MAXFILES];
  • trunk/src/kernel32/exceptions.cpp

    r8548 r8775  
    1 /* $Id: exceptions.cpp,v 1.59 2002-06-02 12:42:09 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.60 2002-06-26 07:14:18 sandervl Exp $ */
    22
    33/*
     
    6969#include "WinDllBase.h"
    7070#include "WinExeBase.h"
     71
     72/* Really lazy! But, including wincon.h means lot's of missing COORD. */
     73#define CTRL_C_EVENT     0     //#include <wincon.h>
     74#define CTRL_BREAK_EVENT 1     //#include <wincon.h>
     75#include "console.h"
     76
    7177
    7278#define DBG_LOCALLOG    DBG_exceptions
     
    13151321        goto continuesearch;
    13161322
    1317   case XCPT_SIGNAL:
    1318         if(pERepRec->ExceptionInfo[0] == XCPT_SIGNAL_KILLPROC)          /* resolve signal information */
     1323
     1324    /*
     1325     * In OS/2 VIO Ctrl-C and Ctrl-Break is special stuff which comes in
     1326     * thru the exception handler. In Win32 CUI they are handled by a
     1327     * ControlCtrlEvent procedure. So, if we receive one of those signals
     1328     * we assume that this is a VIO program and let the handlers handle this.
     1329     * (If they want to.)
     1330     */
     1331    case XCPT_SIGNAL:
     1332        switch (pERepRec->ExceptionInfo[0])
    13191333        {
    1320             SetExceptionChain((ULONG)-1);
    1321             goto continuesearch;
     1334            case XCPT_SIGNAL_BREAK:
     1335                if (InternalGenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, 0))
     1336                    goto continueexecution;
     1337                goto continuesearch;
     1338            case XCPT_SIGNAL_INTR:
     1339                if (InternalGenerateConsoleCtrlEvent(CTRL_C_EVENT, 0))
     1340                    goto continueexecution;
     1341                goto continuesearch;
     1342
     1343            case XCPT_SIGNAL_KILLPROC:  /* resolve signal information */
     1344                SetExceptionChain((ULONG)-1);
     1345                goto continuesearch;
    13221346        }
    13231347        goto CrashAndBurn;
  • trunk/src/kernel32/kernel32.mak

    r8580 r8775  
    1 # $Id: kernel32.mak,v 1.31 2002-06-06 11:31:12 sandervl Exp $
     1# $Id: kernel32.mak,v 1.32 2002-06-26 07:14:18 sandervl Exp $
    22
    33#
     
    148148$(OBJDIR)\hmmailslot.obj \
    149149$(OBJDIR)\mailslot.obj \
     150$(OBJDIR)\oslibtime.obj \
     151$(OBJDIR)\conodin32.obj \
    150152$(OBJDIR)\kernelrsrc.obj
    151153
Note: See TracChangeset for help on using the changeset viewer.