|
From: Balamurugan M <bal...@ar...> - 2010-04-01 11:58:43
|
________________________________ From: Balamurugan M Sent: Thursday, April 01, 2010 4:27 PM To: 'val...@li...' Cc: Ramesh A Subject: Need help on vlagrind debug symbols Hi all, We are facing an issue with valgrind tool 3.4.1 for the platform PPC-32. While running valgrind on PPC32 target platform we could not see the debug symbols. The compilation steps that we did, are: ./configure --prefix=/valgrind-3.4.1 --host=powerpc-montavista-linux CC=/linux_mvl_4.0.0/pro/devkit/ppc/82xx/bin/ppc_82xx-gcc We copied our application, valgrind binary and lib files to an NFS server which is linux platform. We are running our application and valgrind binary flle on the target (PPC platform) by mounting the NFS server and valgrind directory (where we copied our binary files) on the target. Our application is built under the '-g' option and we didn't strip it also. So the application should have the debug symbols. we also tried to grep for a function name in our application binary file and it is successful. While executing the command, ./valgrind ./app the following is a section of output we are getting, >> ==417== Use of uninitialised value of size 4 ==417== at 0x10ACEA6C: (within /mnt/dev/bob/app) ==417== by 0x10A2032F: (within /mnt/dev/bob/app) ==417== by 0x10B29B43: (within /mnt/dev/bob/app) ==417== by 0x100000EB: (within /mnt/dev/bob/app) ==417== by 0x10AC4F3B: (within /mnt/dev/bob/app) ==417== by 0x10AC4A4B: (within /mnt/dev/bob/app) ==417== ==417== Conditional jump or move depends on uninitialised value(s) ==417== at 0x10ACEA64: (within /mnt/dev/bob/app) ==417== by 0x10A1BCDB: (within /mnt/dev/bob/app) ==417== by 0x10B29B43: (within /mnt/dev/bob/app) ==417== by 0x100000EB: (within /mnt/dev/bob/app) ==417== by 0x10AC4F3B: (within /mnt/dev/bob/app) ==417== by 0x10AC4A4B: (within /mnt/dev/bob/app) ==417== << Regards, Bobgan M. Extn : 6111 ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." |