Removed debug from syscalls, added debug to ld-acess/loadlib
authorJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 10:08:23 +0000 (18:08 +0800)
committerJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 10:08:23 +0000 (18:08 +0800)
Kernel/syscalls.c
Usermode/Libraries/ld-acess.so_src/loadlib.c

index d89d6e6..32cc45d 100644 (file)
@@ -2,7 +2,7 @@
  * AcessOS Microkernel Version
  * syscalls.c
  */
-#define DEBUG  1
+#define DEBUG  0
 
 #include <common.h>
 #include <syscalls.h>
index 267555d..54d4c47 100644 (file)
@@ -169,8 +169,10 @@ Uint GetSymbol(char *name)
        Uint    ret;\r
        for(i=0;i<sizeof(gLoadedLibraries)/sizeof(gLoadedLibraries[0]);i++)\r
        {\r
-               if(gLoadedLibraries[i].Base == 0)       break;
-//             SysDebug(" GetSymbol: Trying 0x%x\n", gLoadedLibraries[i]);
+               if(gLoadedLibraries[i].Base == 0)       break;\r
+               
+               SysDebug(" GetSymbol: Trying 0x%x, '%s'\n",\r
+                       gLoadedLibraries[i].Base, gLoadedLibraries[i].Name);
                if(GetSymbolFromBase(gLoadedLibraries[i].Base, name, &ret))     return ret;\r
        }\r
        SysDebug("GetSymbol: === Symbol '%s' not found ===\n", name);\r

UCC git Repository :: git.ucc.asn.au