|
From: Yardumian, H. (H. (hrant) <hr...@ch...> - 2005-01-12 18:49:42
|
I am trying to use Valgrind on an executable that's built with the -g option, yet Valgrind complains that it cannot load the debug info and symbols. (see sample output below.) As a result, Valgrind output will not give me exact locations of problems. Are there any settings other than -g that I need when building my executable? Thanks - =3D=3D30298=3D=3D Reading syms from /.automount/zion/d/a/data/intersect/build/build_with_debug/ix/unit_test/ simulator_test/simulator_test_simulator_test_main.exe (0x8048000) =3D=3D30298=3D=3D warning: mmap failed on /.automount/zion/d/a/data/intersect/build/build_with_debug/ix/unit_test/ simulator_test/simulator_test_simulator_test_main.exe =3D=3D30298=3D=3D no symbols or debug info loaded =3D=3D30298=3D=3D Reading syms from /lib/ld-2.2.5.so (0x1B8E4000) =3D=3D30298=3D=3D object doesn't have any debug info =3D=3D30298=3D=3D Reading syms from /.automount/izu/vol/vol0/rpo_rpp_q1/intersect/users/liko/valgrind-2.2.0/ lib/valgrind/stage2 (0xB0000000) =3D=3D30298=3D=3D Reading syms from /lib/ld-2.2.5.so (0xB1000000) =3D=3D30298=3D=3D object doesn't have any debug info =3D=3D30298=3D=3D Reading syms from /lib/libdl-2.2.5.so (0xB1031000) =3D=3D30298=3D=3D object doesn't have any debug info =3D=3D30298=3D=3D Reading syms from /lib/i686/libc-2.2.5.so (0xB1035000) =3D=3D30298=3D=3D object doesn't have any debug info Hrant Yardumian ChevronTexaco - ETC Reservoir Simulation Research - INTERSECT Team 4800 Fournace Pl., Rm E-561 Bellaire, TX 77401-2324 Tel : (713) 432-2816 =20 Mobile : (281) 782-8669 Fax : (713) 432-6620 |