1.gdb
Program received signal SIG32, Real-time event 32
【转】出现“Program received signal SIG32, Real-time event 32”的解决方法
出现此警告的原因是开发板端/lib下的libthread_db.*(我的是libthread_db.1.0.so)文件不包含debug信息,可在host端使用file命令来查看libthread_db.1.0.so文件是否包debug信息
我的开发板原来的libthread_db.1.0.so使用file命令查看显示为:
libthread_db-1.0.so: ELF 32-bit LSB shared object, ARM, version 1, for GNU/Linux 2.2.5, stripped
handle SIG32 pass noprint nostop
2.valgrind
# /opt/vg/bin/valgrind --trace-syscalls=yes ./maintest
==28097== Memcheck, a memory error detector
==28097== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==28097== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==28097== Command: ./maintest
==28097==
==28097== error 22 Invalid argument
==28097== error VG_(am_shared_mmap_file_float_valgrind) /tmp/vgdb-pipe-shared-mem-vgdb-28097-by-root-on-???
# /opt/vg/bin/valgrind --vgdb=no ./maintest
ok
阅读(2413) | 评论(0) | 转发(0) |