/* $Id: dbglocal.cpp,v 1.29 2004年01月12日 16:09:00 sandervl Exp $ */ /* * debug logging functions for OS/2 * * * Copyright 2000 Sander van Leeuwen * Project Odin Software License can be found in LICENSE.TXT */ #include #include #include #include #include #include "dbglocal.h" #ifdef DEBUG USHORT DbgEnabledKERNEL32[DBG_MAXFILES] = {0}; USHORT DbgEnabledLvl2KERNEL32[DBG_MAXFILES] = {0}; static const char *DbgFileNames[DBG_MAXFILES] = { "kernel32", "kobjects", "console", "conin", "conbuffer", "conout", "network", "hmdevio", "profile", "thread", "virtual", "thunk", "obsolete", "comm", "message", "resource", "exceptions", "heapshared", "cpuhlp", "heapcode", "lfile", "npipe", "oslibdos", "oslibmisc", "misc", "exceptutil", "lang", "iccio", "map", "win32util", "heap", "heapstring", "os2heap", "vmutex", "initterm", "handlemanager", "environ", "initsystem", "hmdevice", "hmopen32", "hmobjects", "hmevent", "hmmutex", "hmcomm", "hmsemaphore", "wprocess", "conprop", "conprop2", "winimagelx", "winimagebase", "windllbase", "winexebase", "time", "mmap", "winimagepe2lx", "winimagepeldr", "windllpe2lx", "windlllx", "windllpeldr", "winexepe2lx", "winexelx", "winexepeldr", "winres", "critsection", "pefile", "winimgres", "wintls", "async", "fileio", "hmtoken", "kernelrsrc", "atom", "disk", "directory", "cvtbitmap", "hmmmap", "cvtaccel", "cvticon", "cvticongrp", "oslibexcept", "cpu", "process", "cvtcursor", "cvtcursorgrp", "stubs", "interlock", "toolhelp", "codepage", "debug", "oslibdebug", "registry", "queue", "hmthread", "hmprocess", "vsemaphore", "exceptstackdump", "hmfile", "hmnpipe", "hmdisk", "version", "hmstd", "module", "mailslot", "hmmailslot", "hmparport", "hmnul", "overlappedio", "trace", "event", "mutex", "semaphore", "nls", "memory", "system", "string", "char", "osliblvm", "oslibtime", "conodin32", "oslibmem", "mmapview", "mmapdup", "oslibthread", "mmapnotify", "_ras" }; //****************************************************************************** //****************************************************************************** void ParseLogStatusKERNEL32() { char *envvar = getenv(DBG_ENVNAME); char *envvar2= getenv(DBG_ENVNAME_LVL2); char *dbgvar; int i; for(i=0;i

AltStyle によって変換されたページ (->オリジナル) /