From a054fab667b0ebb7ea2c91181a961b3fdcc330a1 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 22 Oct 2010 14:26:39 +0800 Subject: [PATCH] Cleaning up debug (and set modules to build with debug) --- Kernel/vfs/main.c | 4 ++-- Modules/Makefile.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/vfs/main.c b/Kernel/vfs/main.c index cd9c4518..4fe8cf96 100644 --- a/Kernel/vfs/main.c +++ b/Kernel/vfs/main.c @@ -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); diff --git a/Modules/Makefile.tpl b/Modules/Makefile.tpl index 2fabb12f..1a10e1c5 100644 --- a/Modules/Makefile.tpl +++ b/Modules/Makefile.tpl @@ -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) -- 2.20.1