|
From: Kostub D. <ko...@gm...> - 2004-08-24 20:20:56
|
I am trying to run valgrind 2.1.2 on my binary and it cannot read the debugging symbols from the binary. this is the error i get in the logs: ==4295== Startup, with flags: ==4295== --tool=memcheck ==4295== -v ==4295== --log-file=valg ==4295== Contents of /proc/version: ==4295== Linux version 2.4.21-2.3a (root@kernel-build-101) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Fri Dec 5 04:53:08 PST 2003 ==4295== Reading syms from /net/deshmukh.desktop/X86_LINUX_GCC2_GLIBC22/FCSpaceManConsoleServices (0x8048000) ==4295== warning: mmap failed on /net/deshmukh.desktop/X86_LINUX_GCC2_GLIBC22/FCSpaceManConsoleServices ==4295== no symbols or debug info loaded I saw the post for the workaround by changing the def of VALGRIND_MAPSIZE but did not find this definition in the .c files. Valgrind 2.0.0 works fine on this binary and loads the debugging symbols. I am using Linux on Red Hat 7.2 -k |