Cleaning up debug (and set modules to build with debug)
authorJohn Hodge <[email protected]>
Fri, 22 Oct 2010 06:26:39 +0000 (14:26 +0800)
committerJohn Hodge <[email protected]>
Fri, 22 Oct 2010 06:26:39 +0000 (14:26 +0800)
Kernel/vfs/main.c
Modules/Makefile.tpl

index cd9c451..4fe8cf9 100644 (file)
@@ -72,10 +72,10 @@ char *VFS_GetTruePath(char *Path)
        
        tmp = VFS_GetAbsPath(Path);
        if(tmp == NULL) return NULL;
-       Log(" VFS_GetTruePath: tmp = '%s'", tmp);
+       //Log(" VFS_GetTruePath: tmp = '%s'", tmp);
        node = VFS_ParsePath(tmp, &ret);
        free(tmp);
-       Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
+       //Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
        
        if(!node)       return NULL;
        if(node->Close) node->Close(node);
index 2fabb12..1a10e1c 100644 (file)
@@ -12,7 +12,7 @@ CFGFILES += $(shell test -f Makefile.cfg && echo Makefile.cfg)
 -include $(CFGFILES)
 
 CPPFLAGS := -I$(ACESSDIR)/Kernel/include -I$(ACESSDIR)/Kernel/arch/$(ARCHDIR)/include -DARCH=$(ARCH) $(_CPPFLAGS)
-CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) -O3 -fno-builtin
+CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) -g -O3 -fno-builtin
 
 ifneq ($(CATEGORY),)
        FULLNAME := $(CATEGORY)_$(NAME)

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