From 0d7a1c0be7f6e6ab561ef982f4efd9f7f04ab1ee Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Fri, 16 Apr 2010 00:53:48 +0000 Subject: module developing git-svn-id: https://rt-thread.googlecode.com/svn/trunk@625 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/module.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/module.c') diff --git a/src/module.c b/src/module.c index a2958cc66b..0bce29dc59 100644 --- a/src/module.c +++ b/src/module.c @@ -186,6 +186,10 @@ struct rt_module* rt_module_load(void* module_ptr, const rt_uint8_t* name) struct rt_module* module = RT_NULL; rt_uint8_t *ptr, *strtab, *shstrab; +#ifdef RT_MODULE_DEBUG + rt_kprintf("rt_module_load: %s\n", name); +#endif + /* check ELF header */ if (rt_memcmp(elf_module->e_ident, ELFMAG, SELFMAG) != 0 || elf_module->e_ident[EI_CLASS] != ELFCLASS32) -- cgit v1.3.1