1
0
Fork 0

Patch from Melchior Franz:

- fix error message
- add PThread rule (needs valgrind >= 20020603)
- add missing files to .cvsignore
This commit is contained in:
david 2002-06-28 17:43:11 +00:00
parent 0d48bae1ef
commit 7b22fa4470
3 changed files with 13 additions and 3 deletions

View file

@ -2,3 +2,4 @@ Makefile
Makefile.in Makefile.in
core* core*
fgfs.supp fgfs.supp
.gdbinit

View file

@ -53,7 +53,7 @@ while true; do
-i) cmd=""; gdb="" ;; -i) cmd=""; gdb="" ;;
-b) gdb="" ;; -b) gdb="" ;;
-x) extra="--single-step=yes --optimise=no --cleanup=no --dump-error=1" ;; -x) extra="--single-step=yes --optimise=no --cleanup=no --dump-error=1" ;;
-c) core=$(ls -t core*|head -1) -c) core=$(ls -t core* 2>/dev/null|head -1)
if test -z $core; then if test -z $core; then
echo "$0: there's no core file" echo "$0: there's no core file"
exit 1 exit 1
@ -66,7 +66,7 @@ while true; do
done done
if ! test -e "$fgfs"; then if ! test -e "$fgfs"; then
echo "$0: there's no fgfs exectuable $fgfs" echo "$0: there's no fgfs executable $fgfs"
exit 2 exit 2
fi fi

View file

@ -4,7 +4,7 @@
# { # {
# name_of_suppression # name_of_suppression
# kind: one of Param Value1 Value2 Value4 Value8 # kind: one of Param Value1 Value2 Value4 Value8
# Cond Free Addr1 Addr2 Addr4 Addr8 # Cond Free PThread Addr1 Addr2 Addr4 Addr8
# (if Param: name of system call param, if Free: name of free-ing fn) # (if Param: name of system call param, if Free: name of free-ing fn)
# caller0 name, or /name/of/so/file.so # caller0 name, or /name/of/so/file.so
# caller1 name, or ditto # caller1 name, or ditto
@ -89,3 +89,12 @@
Cond Cond
fun:removeEntity__7ssgListUi fun:removeEntity__7ssgListUi
} }
{
zlib/pthread-bug(PThread)
PThread
fun:pthread_error
fun:__pthread_mutex_destroy
fun:_IO_default_finish
}