Arm 如何使用qnx二进制文件运行valgrind

Arm 如何使用qnx二进制文件运行valgrind,arm,valgrind,qnx,Arm,Valgrind,Qnx,我为qnx 6.5选择了valgrind banary,并能够在示例程序上运行qnx二进制文件,如下所示: # /usr/valgrind/x86/usr/bin/valgrind valgrind: no program specified valgrind: Use --help for more information. # /usr/valgrind/x86/usr/bin/valgrind --version valgrind-3.10.1 # /usr/valgri

我为qnx 6.5选择了valgrind banary,并能够在示例程序上运行qnx二进制文件,如下所示:

# /usr/valgrind/x86/usr/bin/valgrind        
valgrind: no program specified
valgrind: Use --help for more information.

# /usr/valgrind/x86/usr/bin/valgrind --version
valgrind-3.10.1
# /usr/valgrind/x86/usr/bin/valgrind --tool=memcheck
valgrind: no program specified
valgrind: Use --help for more information.
# /usr/valgrind/x86/usr/bin/valgrind --tool=memcheck ls
==6332450== Memcheck, a memory error detector
==6332450== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==6332450== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==6332450== Command: ls
==6332450== 
==6332450== 
==6332450== 
==6332450== Valgrind is exiting:
==6332450==   Symbols for /proc/boot/libc.so.3 are required but not found.
==6332450==   (Suggestion: compile that binary with debug-information, or provide a separate symbol-file.)
==6332450== 
==6332450==
但是,如果要使用arm二进制文件(在arm处理器上编译的代码)运行相同的二进制文件,则会引发以下错误:

# /usr/valgrind1/x86/usr/bin/valgrind /usr/bt 
(这里bt是用arm编译的二进制文件)

valgrind:可执行文件不适用于此体系结构

注:/usr/valgrind_臂/valgrind/bin/valgrind ls /usr/valgrind_arm/valgrind/bin/valgrind[1]:语法错误:“^AÜ$O4T^H”意外


任何建议或响应都将不胜感激。

原因
/proc/boot/libc。因此.3
没有调试符号。 尝试从当前工作目录运行
valgrind
,该目录包含不同版本的
libc.so.3
,并带有调试符号。或者将其路径设置为


valgrind--tool=memcheck--extra-debuginfo-path=/lib

您从哪里获得QNX/ARM的valgrind?我在找。