]> git.mxchange.org Git - flightgear.git/commitdiff
Patch from Melchior Franz:
authordavid <david>
Fri, 28 Jun 2002 17:43:11 +0000 (17:43 +0000)
committerdavid <david>
Fri, 28 Jun 2002 17:43:11 +0000 (17:43 +0000)
- fix error message
- add PThread rule (needs valgrind >= 20020603)
- add missing files to .cvsignore

scripts/debug/.cvsignore
scripts/debug/debug-fgfs
scripts/debug/sample.fgfs.supp

index 347aa86b8630e8f3e931589628c96031d5700743..ea97d080c917a62bcf3665a54653f8eee8319338 100644 (file)
@@ -2,3 +2,4 @@ Makefile
 Makefile.in
 core*
 fgfs.supp
+.gdbinit
index 5383bda0272e3a1bb50f4bcb0752c1ab5cdbf5f9..8683db29783c529d769f4842d5c2c15989b852bd 100755 (executable)
@@ -53,7 +53,7 @@ while true; do
        -i)     cmd=""; gdb="" ;;
        -b)     gdb="" ;;
        -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
                        echo "$0: there's no core file"
                        exit 1
@@ -66,7 +66,7 @@ while true; do
 done
 
 if ! test -e "$fgfs"; then
-       echo "$0: there's no fgfs exectuable $fgfs"
+       echo "$0: there's no fgfs executable $fgfs"
        exit 2
 fi
 
index 30519190e1450e0508dd81b1970fa2866fd5ac04..6b692f48b5d757840fb24e420407556f719f3845 100644 (file)
@@ -4,7 +4,7 @@
 # {
 #     name_of_suppression
 #     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)
 #     caller0 name, or /name/of/so/file.so
 #     caller1 name, or ditto
     Cond
     fun:removeEntity__7ssgListUi
 }
+
+{
+    zlib/pthread-bug(PThread)
+    PThread
+    fun:pthread_error
+    fun:__pthread_mutex_destroy
+    fun:_IO_default_finish
+}
+