Changeset 8609


Ignore:
Timestamp:
Jun 9, 2002, 12:48:50 PM (23 years ago)
Author:
sandervl
Message:

minor logging changes

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kernel32/windllbase.cpp

    r7811 r8609  
    1 /* $Id: windllbase.cpp,v 1.28 2002-02-06 16:33:38 sandervl Exp $ */
     1/* $Id: windllbase.cpp,v 1.29 2002-06-09 10:48:50 sandervl Exp $ */
    22
    33/*
     
    217217#ifdef DEBUG
    218218    if(referenced == 1) {
    219 #ifdef DEBUG_ENABLELOG_LEVEL2
    220219        printListOfDlls();
    221 #endif
    222220        //printDependencies(NULL);
    223221    }
     
    233231 Win32DllBase *dll;
    234232 LONG          ret;
     233 char          szModuleName[256];
    235234
    236235    dprintf(("Win32DllBase::Release %s %d", getModuleName(), referenced-1));
     
    254253        }
    255254#ifdef DEBUG
    256         //printDependencies(NULL);
     255//        printDependencies(getName());
    257256#endif
    258257
    259258        dprintf(("Win32DllBase::Release %s referenced == 0", getModuleName()));
     259        strncpy(szModuleName, getModuleName(), sizeof(szModuleName));
    260260
    261261        //delete dll object
     
    271271                return -1;
    272272            }
     273            dprintf(("Remove %s->%s dependency", szModuleName, dll->getName()));
    273274            dll->Release();
    274275            item = queue.getNext(item);
     
    371372//******************************************************************************
    372373//******************************************************************************
    373 #ifdef DEBUG_ENABLELOG_LEVEL2
    374374void Win32DllBase::printListOfDlls()
    375375{
     
    384384    }
    385385}
    386 #endif
    387386#endif
    388387//******************************************************************************
     
    432431#ifdef DEBUG
    433432    int time1, time2;
    434     dprintf(("attachProcess to dll %s", szModule));
     433    dprintf(("attachProcess to dll %s (%x)", szModule, dllEntryPoint));
    435434    time1 = GetTickCount();
    436435#endif
     
    475474    }
    476475
    477     dprintf(("detachProcess from dll %s", szModule));
     476    dprintf(("detachProcess from dll %s (%x)", szModule, dllEntryPoint));
    478477
    479478    //Note: The Win32 exception structure references by FS:[0] is the same
     
    598597    dprintf(("Win32DllBase::deleteAll"));
    599598
    600 #ifdef DEBUG_ENABLELOG_LEVEL2
     599#ifdef DEBUG
    601600    if(dll) dll->printListOfDlls();
    602601#endif
     
    619618
    620619    dprintf(("Win32DllBase::deleteDynamicLibs"));
    621 #ifdef DEBUG_ENABLELOG_LEVEL2
     620#ifdef DEBUG
    622621    if(dll) dll->printListOfDlls();
    623622#endif
     
    630629        int dynref = dll->nrDynamicLibRef;
    631630        if(dynref) {
     631            dprintf(("delete dynamic library references for %s", dll->getName()));
    632632            while(dynref) {
    633633                dynref--;
  • TabularUnified trunk/src/kernel32/windllbase.h

    r6015 r8609  
    1 /* $Id: windllbase.h,v 1.8 2001-06-15 09:42:48 bird Exp $ */
     1/* $Id: windllbase.h,v 1.9 2002-06-09 10:48:50 sandervl Exp $ */
    22
    33/*
     
    110110static  Win32DllBase *findModuleByOS2Handle(HINSTANCE hinstance);
    111111
    112 #ifdef DEBUG_ENABLELOG_LEVEL2
     112#ifdef DEBUG
    113113    void          printListOfDlls();
    114114#endif
Note: See TracChangeset for help on using the changeset viewer.