|
From: Jeremy F. <je...@go...> - 2005-01-15 02:19:37
|
CVS commit by fitzhardinge: Fix pth_blockedsig.stdout.exp and tweak .cvsignore M +5 -0 .cvsignore 1.23 M +1 -1 pth_blockedsig.stdout.exp 1.3 --- valgrind/none/tests/.cvsignore #1.22:1.23 @@ -3,4 +3,5 @@ args bitfield1 +blockfault closeall coolo_sigaction @@ -13,4 +14,5 @@ fork fucomip +getseg gxx304 insn_basic @@ -39,4 +41,6 @@ resolv rlimit_nofile +map_unaligned +pending sem semlimit @@ -44,4 +48,5 @@ shortpush shorts +sigcontext smc1 susphello --- valgrind/none/tests/pth_blockedsig.stdout.exp #1.2:1.3 @@ -1 +1 @@ -thread 2 sending SIGUSR1 to thread 1 +thread CHILD sending SIGUSR1 to thread MAIN |
|
From: Jeremy F. <je...@go...> - 2005-01-16 01:42:02
|
CVS commit by fitzhardinge:
Add a test to make sure that the siginfo for a fault signal looks good.
A faultstatus.c 1.1 [no copyright]
A faultstatus.stderr.exp 1.1
A faultstatus.vgtest 1.1
M +3 -1 Makefile.am 1.57
--- valgrind/none/tests/Makefile.am #1.56:1.57
@@ -22,4 +22,5 @@
exec-sigmask.stdout.exp2 exec-sigmask.stderr.exp \
execve.vgtest execve.stdout.exp execve.stderr.exp \
+ faultstatus.vgtest faultstatus.stderr.exp \
fcntl_setown.vgtest fcntl_setown.stdout.exp fcntl_setown.stderr.exp \
floored.stderr.exp floored.stdout.exp \
@@ -60,5 +61,5 @@
check_PROGRAMS = \
args bitfield1 blockfault closeall coolo_strlen \
- discard exec-sigmask execve fcntl_setown floored fork \
+ discard exec-sigmask execve faultstatus fcntl_setown floored fork \
fucomip getseg \
munmap_exe map_unaligned map_unmap mq mremap rcrl readline1 \
@@ -82,4 +83,5 @@
exec_sigmask_SOURCES = exec-sigmask.c
execve_SOURCES = execve.c
+faultstatus_SOURCES = faultstatus.c
fcntl_setown_SOURCES = fcntl_setown.c
fork_SOURCES = fork.c
|
|
From: Tom H. <th...@cy...> - 2005-01-16 11:05:09
|
CVS commit by thughes:
Anonymise fault addresses as they can change between different machines.
M +1 -0 .cvsignore 1.24
M +1 -1 blockfault.stderr.exp 1.2
M +1 -1 faultstatus.stderr.exp 1.2
M +4 -1 filter_stderr 1.5
M +1 -1 x86/filter_int 1.2
M +1 -1 x86/int.stderr.exp 1.2
--- valgrind/none/tests/.cvsignore #1.23:1.24
@@ -10,4 +10,5 @@
exec-sigmask
execve
+faultstatus
fcntl_setown
floored
--- valgrind/none/tests/blockfault.stderr.exp #1.1:1.2
@@ -3,4 +3,4 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x4D2
- at 0x804852D: main (blockfault.c:28)
+ at 0x........: main (blockfault.c:28)
--- valgrind/none/tests/faultstatus.stderr.exp #1.1:1.2
@@ -4,5 +4,5 @@
Test 2: PASS 3
Test 3: disInstr: unhandled instruction bytes: 0xF 0xB 0xC9 0xC3
- at 0x8048970: test4 (faultstatus.c:108)
+ at 0x........: test4 (faultstatus.c:108)
PASS 4
Test 4: PASS 5
--- valgrind/none/tests/filter_stderr #1.4:1.5
@@ -3,3 +3,6 @@
dir=`dirname $0`
-$dir/../../tests/filter_stderr_basic
+$dir/../../tests/filter_stderr_basic |
+
+# Anonymise addresses
+sed "s/at 0x[0-9A-Fa-f]*:/at 0x........:/g"
--- valgrind/none/tests/x86/filter_int #1.1:1.2
@@ -3,4 +3,4 @@
dir=`dirname $0`
-$dir/filter_stderr | $dir/../../../tests/filter_addresses
+$dir/filter_stderr | sed "s/at address 0x[0-9A-Fa-f]*/at address 0x......../g"
--- valgrind/none/tests/x86/int.stderr.exp #1.1:1.2
@@ -1,4 +1,4 @@
-disInstr: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........
+disInstr: unhandled instruction bytes: 0xCD 0x81 0x83 0xEC
at 0x........: main (int.c:5)
|
|
From: Tom H. <th...@cy...> - 2005-01-16 11:14:55
|
CVS commit by thughes:
Fix address anonymisation properly this time - the last patch took it
away from the instruction sequences reports but those can change as well
because we always report four bytes but it may only be the first few that
we have generated.
M +1 -1 blockfault.stderr.exp 1.3
M +1 -1 faultstatus.stderr.exp 1.3
M +1 -1 filter_stderr 1.6
M +1 -2 x86/filter_cpuid 1.2
M +1 -1 x86/int.stderr.exp 1.3
M +0 -1 x86/int.vgtest 1.4
R x86/filter_int 1.2
--- valgrind/none/tests/blockfault.stderr.exp #1.2:1.3
@@ -2,5 +2,5 @@
Process terminating with default action of signal 11 (SIGSEGV)
- Access not within mapped region at address 0x4D2
+ Access not within mapped region at address 0x........
at 0x........: main (blockfault.c:28)
--- valgrind/none/tests/faultstatus.stderr.exp #1.2:1.3
@@ -3,5 +3,5 @@
Test 1: PASS 2
Test 2: PASS 3
-Test 3: disInstr: unhandled instruction bytes: 0xF 0xB 0xC9 0xC3
+Test 3: disInstr: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........
at 0x........: test4 (faultstatus.c:108)
PASS 4
--- valgrind/none/tests/filter_stderr #1.5:1.6
@@ -6,3 +6,3 @@
# Anonymise addresses
-sed "s/at 0x[0-9A-Fa-f]*:/at 0x........:/g"
+$dir/../../tests/filter_addresses
--- valgrind/none/tests/x86/filter_cpuid #1.1:1.2
@@ -3,4 +3,3 @@
dir=`dirname $0`
-$dir/filter_stderr | $dir/../../../tests/filter_addresses
-
+$dir/filter_stderr
--- valgrind/none/tests/x86/int.stderr.exp #1.2:1.3
@@ -1,4 +1,4 @@
-disInstr: unhandled instruction bytes: 0xCD 0x81 0x83 0xEC
+disInstr: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........
at 0x........: main (int.c:5)
--- valgrind/none/tests/x86/int.vgtest #1.3:1.4
@@ -1,3 +1,2 @@
prog: int
-stderr_filter: filter_int
cleanup: rm vgcore.pid*
|
|
From: Tom H. <th...@cy...> - 2005-01-16 11:30:37
|
CVS commit by thughes: Fix up exec-sigmask results - my tests show that RH72-RH9 don't suppress any signals and FC3 is supressing 32 and 33 presumably for internal use. M +0 -1 exec-sigmask.stdout.exp 1.3 M +2 -1 exec-sigmask.stdout.exp2 1.2 --- valgrind/none/tests/exec-sigmask.stdout.exp #1.2:1.3 @@ -1 +0,0 @@ -full: signal 32 missing from mask --- valgrind/none/tests/exec-sigmask.stdout.exp2 #1.1:1.2 @@ -1 +1,2 @@ -signal 32 missing from mask +full: signal 32 missing from mask +full: signal 33 missing from mask |
|
From: Jeremy F. <je...@go...> - 2005-01-17 22:37:38
|
CVS commit by fitzhardinge:
Add tests to check stack-growth happens properly. Also, re-instate TLS
tests, with an appropraite pre-req to check they only run on TLS systems.
A sigstackgrowth.c 1.1 [no copyright]
A sigstackgrowth.stderr.exp 1.1
A sigstackgrowth.stdout.exp 1.1
A sigstackgrowth.vgtest 1.1
A stackgrowth.c 1.1 [no copyright]
A stackgrowth.stderr.exp 1.1
A stackgrowth.stdout.exp 1.1
A stackgrowth.vgtest 1.1
M +16 -10 Makefile.am 1.58
M +1 -0 tls.vgtest 1.3
--- valgrind/none/tests/Makefile.am #1.57:1.58
@@ -52,5 +52,7 @@
shorts.stderr.exp shorts.vgtest \
sigcontext.stdout.exp sigcontext.stderr.exp sigcontext.vgtest \
+ sigstackgrowth.stdout.exp sigstackgrowth.stderr.exp sigstackgrowth.vgtest \
smc1.stderr.exp smc1.stdout.exp smc1.vgtest \
+ stackgrowth.stdout.exp stackgrowth.stderr.exp stackgrowth.vgtest \
syscall-restart1.vgtest syscall-restart1.stdout.exp syscall-restart1.stderr.exp \
syscall-restart2.vgtest syscall-restart2.stdout.exp syscall-restart2.stderr.exp \
@@ -66,6 +68,8 @@
resolv rlimit_nofile sem semlimit sha1_test \
shortpush shorts sigcontext \
+ stackgrowth sigstackgrowth \
smc1 susphello pending pth_blockedsig pth_stackalign \
syscall-restart1 syscall-restart2 system \
+ tls tls.so tls2.so \
coolo_sigaction gxx304 yield
@@ -109,19 +113,21 @@
shorts_SOURCES = shorts.c
sigcontext_SOURCES = sigcontext.c
+sigstackgrowth_SOURCES = sigstackgrowth.c
susphello_SOURCES = susphello.c
susphello_LDADD = -lpthread
+stackgrowth_SOURCES = stackgrowth.c
syscall_restart1_SOURCES = syscall-restart1.c
syscall_restart2_SOURCES = syscall-restart2.c
system_SOURCES = system.c
-#tls_SOURCES = tls.c tls2.c
-#tls_DEPENDENCIES = tls.so
-#tls_LDFLAGS = -Wl,-rpath,$(srcdir)
-#tls_LDADD = tls.so -lpthread
-#tls_so_SOURCES = tls_so.c
-#tls_so_LDADD = tls2.so
-#tls_so_DEPENDENCIES = tls2.so
-#tls_so_LDFLAGS = -Wl,-rpath,$(srcdir) -shared
-#tls2_so_SOURCES = tls2_so.c
-#tls2_so_LDFLAGS = -shared
+tls_SOURCES = tls.c tls2.c
+tls_DEPENDENCIES = tls.so
+tls_LDFLAGS = -Wl,-rpath,$(srcdir)
+tls_LDADD = tls.so -lpthread
+tls_so_SOURCES = tls_so.c
+tls_so_LDADD = tls2.so
+tls_so_DEPENDENCIES = tls2.so
+tls_so_LDFLAGS = -Wl,-rpath,$(srcdir) -shared
+tls2_so_SOURCES = tls2_so.c
+tls2_so_LDFLAGS = -shared
yield_SOURCES = yield.c
yield_CFLAGS = $(AM_CFLAGS) -D__$(VG_ARCH)__
|
|
From: Jeremy F. <je...@go...> - 2005-01-17 22:49:29
|
CVS commit by fitzhardinge: Disable susphello test. Sometimes it just doesn't terminate, even when run natively. The code looks suspect and racy. M +2 -0 susphello.vgtest 1.2 --- valgrind/none/tests/susphello.vgtest #1.1:1.2 @@ -1 +1,3 @@ prog: susphello +# susphello seems broken; sometimes it just doesn't terminate (even natively) +prereq: false |
|
From: Jeremy F. <je...@go...> - 2005-01-17 23:19:13
|
CVS commit by fitzhardinge:
Check that the compiler supports __thread before trying to use it.
A tls.h 1.1 [no copyright]
M +11 -0 tls.c 1.2
M +4 -0 tls2.c 1.2
M +4 -0 tls2_so.c 1.2
M +5 -1 tls_so.c 1.2
--- valgrind/none/tests/tls.c #1.1:1.2
@@ -4,4 +4,8 @@
#include <time.h>
+#include "tls.h"
+
+#ifdef HAVE_TLS
+
#define COUNT 10
@@ -100,2 +104,9 @@ int main()
return 0;
}
+#else
+int main()
+{
+ printf("FAILED: no compiler support for __thread\n");
+ return 1;
+}
+#endif
--- valgrind/none/tests/tls2.c #1.1:1.2
@@ -1 +1,5 @@
+#include "tls.h"
+
+#ifdef HAVE_TLS
__thread int static_extern;
+#endif
--- valgrind/none/tests/tls2_so.c #1.1:1.2
@@ -1 +1,5 @@
+#include "tls.h"
+
+#ifdef HAVE_TLS
__thread int so_extern;
+#endif
--- valgrind/none/tests/tls_so.c #1.1:1.2
@@ -1,2 +1,5 @@
+#include "tls.h"
+
+#ifdef HAVE_TLS
#include <pthread.h>
@@ -19,2 +22,3 @@ int *test_so_global(void)
return &global;
}
+#endif
|
|
From: Jeremy F. <je...@go...> - 2005-01-18 18:09:05
|
CVS commit by fitzhardinge:
Fix compiler version check.
M +1 -1 tls.h 1.2
--- valgrind/none/tests/tls.h #1.1:1.2
@@ -1,5 +1,5 @@
/* I wish there were a feature-test we could do rather
than a version test */
-#if __GNUC__ >= 3 && __GNUC_PATCHLEVEL__ >= 3
+#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
#define HAVE_TLS 1
#endif
|
|
From: Jeremy F. <je...@go...> - 2005-01-18 21:25:53
|
CVS commit by fitzhardinge:
Add a self-running test, which is predicated on building with PIE.
A selfrun.c 1.1 [no copyright]
A selfrun.stderr.exp 1.1
A selfrun.stdout.exp 1.1
A selfrun.vgtest 1.1
M +3 -1 Makefile.am 1.59
--- valgrind/none/tests/Makefile.am #1.58:1.59
@@ -45,4 +45,5 @@
resolv.stderr.exp resolv.stdout.exp resolv.vgtest \
rlimit_nofile.stderr.exp rlimit_nofile.stdout.exp rlimit_nofile.vgtest \
+ selfrun.stderr.exp selfrun.stdout.exp selfrun.vgtest \
sem.stderr.exp sem.stdout.exp sem.vgtest \
semlimit.stderr.exp semlimit.stdout.exp semlimit.vgtest \
@@ -66,5 +67,5 @@
fucomip getseg \
munmap_exe map_unaligned map_unmap mq mremap rcrl readline1 \
- resolv rlimit_nofile sem semlimit sha1_test \
+ resolv rlimit_nofile selfrun sem semlimit sha1_test \
shortpush shorts sigcontext \
stackgrowth sigstackgrowth \
@@ -105,4 +106,5 @@
resolv_SOURCES = resolv.c
rlimit_nofile_SOURCES = rlimit_nofile.c
+selfrun_SOURCES = selfrun.c
sem_SOURCES = sem.c
semlimit_SOURCES = semlimit.c
|
|
From: Jeremy F. <je...@go...> - 2005-01-19 23:37:07
|
CVS commit by fitzhardinge:
Make sure both spinning threads have started before sleeping. Yet another attempt to get
something useful out of this test.
M +11 -6 yield.c 1.5
--- valgrind/none/tests/yield.c #1.4:1.5
@@ -10,6 +10,7 @@
static pthread_mutex_t m_go = PTHREAD_MUTEX_INITIALIZER;
static pthread_cond_t c_go = PTHREAD_COND_INITIALIZER;
+static pthread_cond_t c_running = PTHREAD_COND_INITIALIZER;
-static volatile int alive;
+static volatile int alive, running;
static int spin;
@@ -21,4 +22,6 @@ static void *spinner(void *v)
while(!alive)
pthread_cond_wait(&c_go, &m_go);
+ running++;
+ pthread_cond_signal(&c_running);
pthread_mutex_unlock(&m_go);
@@ -34,4 +37,6 @@ static void *rep_nopper(void *v)
while(!alive)
pthread_cond_wait(&c_go, &m_go);
+ running++;
+ pthread_cond_signal(&c_running);
pthread_mutex_unlock(&m_go);
@@ -59,4 +64,8 @@ int main()
alive = 1;
pthread_cond_broadcast(&c_go);
+
+ /* make sure they both get started */
+ while(running < 2)
+ pthread_cond_wait(&c_running, &m_go);
pthread_mutex_unlock(&m_go);
@@ -71,9 +80,5 @@ int main()
spin, rep_nop, (float)rep_nop / spin);
- /* We expect that spinning was faster than rep_nop, but that
- rep_nop made at least .1% progress of the spin. (This is
- fairly pessimistic, but the non-determinism of this test
- makes it hard to be more precise.) */
- if (spin > rep_nop && ((float)rep_nop / spin) >= .001)
+ if (spin > rep_nop)
printf("PASS\n");
else
|
|
From: Jeremy F. <je...@go...> - 2005-01-24 08:53:02
|
CVS commit by fitzhardinge:
Check pthread_create return, so that we're also checking that threads
are being cleaned up properly.
M +21 -5 thread-exits.c 1.2
--- valgrind/none/tests/thread-exits.c #1.1:1.2
@@ -13,6 +13,12 @@
grow the stack. If we don't get the siginfo, then it just looks
like the program crashed.
+
+ Oh, and this test also makes sure that thread resources are cleaned
+ up properly.
*/
#include <pthread.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
static void *thr(void *v)
@@ -37,16 +43,26 @@ int main()
int i;
- /* create lots of threads */
+ /* Create lots of threads */
for(i = 0; i < 1300; i++) {
pthread_t t;
+ int ret;
- pthread_create(&t, NULL, thr, NULL);
- pthread_join(t, NULL);
+ ret = pthread_create(&t, NULL, thr, NULL);
+ if (ret) {
+ printf("pthread_create failed: %s\n", strerror(ret));
+ exit(1);
}
- /* grow the stack */
+ ret = pthread_join(t, NULL);
+ if (ret) {
+ printf("pthread_join failed: %s\n", strerror(ret));
+ exit(1);
+ }
+ }
+
+ /* Grow the stack */
grow(10);
- /* if we didn't die with SIGSEGV in grow(), it is a pass */
+ /* If we didn't die with SIGSEGV in grow(), it is a pass */
printf("PASS\n");
|
|
From: Jeremy F. <je...@go...> - 2005-01-28 09:09:34
|
CVS commit by fitzhardinge:
Expand thread-exits to test for the case where master_tid is blocked in a syscall.
M +68 -5 thread-exits.c 1.3
M +1 -0 thread-exits.stderr.exp 1.2
M +16 -1 thread-exits.stdout.exp 1.2
--- valgrind/none/tests/thread-exits.c #1.2:1.3
@@ -14,4 +14,11 @@
like the program crashed.
+ The extra complication in this test is making sure that the
+ unwanted signals are discarded while the main thread is blocked in
+ a syscall. So, to check this, main creates a new process, which
+ attempts to grow the stack once all the threads have been created
+ and exited. main() itself is blocked waiting for the child
+ process.
+
Oh, and this test also makes sure that thread resources are cleaned
up properly.
@@ -21,4 +28,13 @@
#include <string.h>
#include <stdlib.h>
+#include <unistd.h>
+#include <signal.h>
+#include <sys/wait.h>
+
+static int grower;
+
+static void handler(int sig)
+{
+}
static void *thr(void *v)
@@ -39,13 +55,19 @@ static void grow(int depth)
}
-int main()
+static void *maker(void *v)
{
int i;
+ sleep(1);
+
/* Create lots of threads */
+ printf("creating threads...\n");
for(i = 0; i < 1300; i++) {
pthread_t t;
int ret;
+ if (i % 100 == 0)
+ printf("%d...\n", i);
+
ret = pthread_create(&t, NULL, thr, NULL);
if (ret) {
@@ -61,9 +83,50 @@ int main()
}
- /* Grow the stack */
+ kill(grower, SIGUSR1);
+
+ return NULL;
+}
+
+int main()
+{
+ pthread_t pth;
+ sigset_t mask;
+ int status;
+
+ sigemptyset(&mask);
+ sigaddset(&mask, SIGCHLD);
+ sigprocmask(SIG_BLOCK, &mask, NULL);
+
+ struct sigaction sa;
+ sa.sa_handler = handler;
+ sa.sa_flags = 0;
+ sigfillset(&sa.sa_mask);
+ sigaction(SIGUSR1, &sa, NULL);
+
+ grower = fork();
+
+ if (grower == -1) {
+ perror("fork");
+ exit(1);
+ }
+
+ if (grower == 0) {
+ pause(); /* child - wait for SIGUSR1 */
grow(10);
+ printf("stack grew OK\n");
+ exit(0);
+ }
- /* If we didn't die with SIGSEGV in grow(), it is a pass */
- printf("PASS\n");
+ pthread_create(&pth, NULL, maker, NULL);
+
+ /* wait for child */
+ if (waitpid(grower, &status, 0) != grower)
+ printf("FAILED\n");
+ else if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
+ printf("PASS: child OK\n");
+ else
+ printf("FAILED: exit status=%d\n", status);
+
+ pthread_join(pth, NULL);
return 0;
--- valgrind/none/tests/thread-exits.stderr.exp #1.1:1.2
@@ -1,2 +1,3 @@
+
--- valgrind/none/tests/thread-exits.stdout.exp #1.1:1.2
@@ -1 +1,16 @@
-PASS
+stack grew OK
+creating threads...
+0...
+100...
+200...
+300...
+400...
+500...
+600...
+700...
+800...
+900...
+1000...
+1100...
+1200...
+PASS: child OK
|
|
From: Jeremy F. <je...@go...> - 2005-02-10 18:23:16
|
CVS commit by fitzhardinge: Add missing file A pending.vgtest 1.1 |
|
From: Tom H. <th...@cy...> - 2005-02-11 09:51:02
|
CVS commit by thughes:
Strip the libc path as not all systems use the same version of libc.
M +2 -2 async-sigs.stderr.exp 1.3
M +4 -1 filter_stderr 1.7
--- valgrind/none/tests/async-sigs.stderr.exp #1.2:1.3
@@ -14,5 +14,5 @@
Process terminating with default action of signal 7 (SIGBUS)
- at 0x........: pause (in /lib/tls/libc-2.3.3.so)
+ at 0x........: pause (in /...libc...)
by 0x........: main (async-sigs.c:117)
@@ -20,5 +20,5 @@
Process terminating with default action of signal 7 (SIGBUS)
- at 0x........: pause (in /lib/tls/libc-2.3.3.so)
+ at 0x........: pause (in /...libc...)
by 0x........: main (async-sigs.c:117)
--- valgrind/none/tests/filter_stderr #1.6:1.7
@@ -6,3 +6,6 @@
# Anonymise addresses
-$dir/../../tests/filter_addresses
+$dir/../../tests/filter_addresses |
+
+# Anonymise paths like "(in /foo/bar/libc-baz.so)"
+sed "s/(in \/.*libc.*)$/(in \/...libc...)/"
|
|
From: Jeremy F. <je...@go...> - 2005-02-13 09:26:57
|
CVS commit by fitzhardinge:
Add some missing files to dist target.
M +2 -2 Makefile.am 1.63
--- valgrind/none/tests/Makefile.am #1.62:1.63
@@ -7,5 +7,5 @@
async-sigs.stderr.exp async-sigs.stdout.exp async-sigs.vgtest \
bitfield1.stderr.exp bitfield1.vgtest \
- blockfault.vgtest \
+ blockfault.vgtest blockfault.stderr.exp blockfault.stdout.exp \
closeall.stderr.exp closeall.vgtest \
cmdline1.stderr.exp cmdline1.stdout.exp cmdline1.vgtest \
@@ -29,5 +29,5 @@
fork.stderr.exp fork.stdout.exp fork.vgtest \
fucomip.stderr.exp fucomip.vgtest \
- getseg.stdout.exp getseg.vgtest \
+ getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
gxx304.stderr.exp gxx304.vgtest \
map_unaligned.stderr.exp map_unaligned.vgtest \
|
|
From: Tom H. <th...@cy...> - 2005-02-13 13:46:42
|
CVS commit by thughes:
Fix test results for new --command-line-only switch.
M +1 -0 cmdline1.stdout.exp 1.11
M +1 -0 cmdline2.stdout.exp 1.11
--- valgrind/none/tests/cmdline1.stdout.exp #1.10:1.11
@@ -16,4 +16,5 @@
--weird-hacks=hack1,hack2,... recognised hacks: lax-ioctls,ioctl-mmap [none]
--pointercheck=no|yes enforce client address space limits [yes]
+ --command-line-only=no|yes only use command line options [no]
user options for Valgrind tools that report errors:
--- valgrind/none/tests/cmdline2.stdout.exp #1.10:1.11
@@ -16,4 +16,5 @@
--weird-hacks=hack1,hack2,... recognised hacks: lax-ioctls,ioctl-mmap [none]
--pointercheck=no|yes enforce client address space limits [yes]
+ --command-line-only=no|yes only use command line options [no]
user options for Valgrind tools that report errors:
|
|
From: Nicholas N. <nj...@cs...> - 2005-02-17 03:00:02
|
CVS commit by nethercote:
Fix for new cmd line option.
M +1 -0 cmdline2.stdout.exp 1.12
--- valgrind/none/tests/cmdline2.stdout.exp #1.11:1.12
@@ -48,4 +48,5 @@
--trace-sched=no|yes show thread scheduler details? [no]
--wait-for-gdb=yes|no pause on startup to wait for gdb attach
+ --model-pthreads=yes|no model the pthreads library [no]
debugging options for Valgrind tools that report errors
|
|
From: Jeremy F. <je...@go...> - 2005-02-22 08:03:52
|
CVS commit by fitzhardinge: Update async-sigs expected output. M +0 -16 async-sigs.stderr.exp 1.4 --- valgrind/none/tests/async-sigs.stderr.exp #1.3:1.4 @@ -1,26 +1,10 @@ -Process terminating with default action of signal 7 (SIGBUS) - at 0x........: test (async-sigs.c:78) - by 0x........: main (async-sigs.c:117) -Process terminating with default action of signal 7 (SIGBUS) - at 0x........: test (async-sigs.c:78) - by 0x........: main (async-sigs.c:117) -Process terminating with default action of signal 7 (SIGBUS) - at 0x........: pause (in /...libc...) - by 0x........: main (async-sigs.c:117) - - - -Process terminating with default action of signal 7 (SIGBUS) - at 0x........: pause (in /...libc...) - by 0x........: main (async-sigs.c:117) - |
|
From: Jeremy F. <je...@go...> - 2005-02-25 05:53:15
|
CVS commit by fitzhardinge:
Squash warning.
M +1 -1 faultstatus.c 1.5
--- valgrind/none/tests/faultstatus.c #1.4:1.5
@@ -125,5 +125,5 @@ static void test9()
static int limit[2] = { 0, 10 };
- asm volatile ("bound %0, %1" : : "r" (11), "m" (limit));
+ asm volatile ("bound %0, %1" : : "r" (11), "m" (limit[0]));
}
#endif /* __i386__ */
|
|
From: Jeremy F. <je...@go...> - 2005-03-02 08:26:05
|
CVS commit by fitzhardinge:
Add a test case for creating and destroying lots of threads.
A manythreads.c 1.1 [no copyright]
A manythreads.stderr.exp 1.1
A manythreads.stdout.exp 1.1
A manythreads.vgtest 1.1
M +4 -0 Makefile.am 1.64
--- valgrind/none/tests/Makefile.am #1.63:1.64
@@ -31,4 +31,5 @@
getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
gxx304.stderr.exp gxx304.vgtest \
+ manythreads.stdout.exp manythreads.stderr.exp manythreads.vgtest \
map_unaligned.stderr.exp map_unaligned.vgtest \
map_unmap.stderr.exp map_unmap.stdout.exp map_unmap.vgtest \
@@ -68,4 +69,5 @@
discard exec-sigmask execve faultstatus fcntl_setown floored fork \
fucomip getseg \
+ manythreads \
munmap_exe map_unaligned map_unmap mq mremap rcrl readline1 \
resolv rlimit_nofile selfrun sem semlimit sha1_test \
@@ -143,4 +145,6 @@
# pthread C ones
+manythreads_SOURCES = manythreads.c
+manythreads_LDADD = -lpthread
pth_blockedsig_SOURCES = pth_blockedsig.c
pth_blockedsig_LDADD = -lpthread
|
|
From: Robert W. <rj...@du...> - 2005-03-05 22:03:41
|
CVS commit by rjwalsh:
Fix cmdline tests for match new --num-callers stuff.
M +1 -1 cmdline1.stdout.exp 1.14
M +1 -1 cmdline2.stdout.exp 1.16
--- valgrind/none/tests/cmdline1.stdout.exp #1.13:1.14
@@ -22,5 +22,5 @@
--log-socket=ipaddr:port log messages to socket ipaddr:port
--demangle=no|yes automatically demangle C++ names? [yes]
- --num-callers=<number> show <num> callers in stack traces [4]
+ --num-callers=<number> show <num> callers in stack traces [12]
--error-limit=no|yes stop showing new errors if too many? [yes]
--show-below-main=no|yes continue stack traces below main() [no]
--- valgrind/none/tests/cmdline2.stdout.exp #1.15:1.16
@@ -22,5 +22,5 @@
--log-socket=ipaddr:port log messages to socket ipaddr:port
--demangle=no|yes automatically demangle C++ names? [yes]
- --num-callers=<number> show <num> callers in stack traces [4]
+ --num-callers=<number> show <num> callers in stack traces [12]
--error-limit=no|yes stop showing new errors if too many? [yes]
--show-below-main=no|yes continue stack traces below main() [no]
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 23:32:30
|
CVS commit by fitzhardinge:
Add test case for forking threaded programs.
A threaded-fork.c 1.1 [no copyright]
A threaded-fork.stderr.exp 1.1
A threaded-fork.stdout.exp 1.1
A threaded-fork.vgtest 1.1
M +4 -1 Makefile.am 1.65
--- valgrind/none/tests/Makefile.am #1.64:1.65
@@ -62,4 +62,5 @@
system.stderr.exp system.vgtest \
thread-exits.stderr.exp thread-exits.stdout.exp thread-exits.vgtest \
+ threaded-fork.stderr.exp threaded-fork.stdout.exp threaded-fork.vgtest \
tls.stderr.exp tls.stdout.exp \
yield.stderr.exp yield.stdout.exp yield.vgtest
@@ -76,5 +77,5 @@
smc1 susphello pending pth_blockedsig pth_stackalign \
syscall-restart1 syscall-restart2 system \
- thread-exits \
+ thread-exits threaded-fork \
tls tls.so tls2.so \
coolo_sigaction gxx304 yield
@@ -151,4 +152,6 @@
pth_stackalign_SOURCES = pth_stackalign.c
pth_stackalign_LDADD = -lpthread
+threaded_fork_SOURCES = threaded-fork.c
+threaded_fork_LDADD = -lpthread
# generic C++ ones
|