Julian Seward
08069a1f9a
Don't let GDB_PATH be "" if no GDB is found at configure time, as this causes
...
any attempts to attach a gdb to the process to fail in a confusing way.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8772
2008-11-17 00:20:45 +00:00
Julian Seward
c003738f13
Make these compile on older systems.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8771
2008-11-16 23:25:43 +00:00
Julian Seward
318bd7cf8b
Make test 'tc21_pthonce' less scheduling-sensitive.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8770
2008-11-16 21:59:29 +00:00
Julian Seward
2ebd38040f
Handle sys_lookup_dcookie on amd64-linux (Andrew Haley). Also take
...
the opportunity to move the handlers from syswrap-generic.c (which
they certainly aren't) to syswrap-linux.c. Fixes #175044 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8769
2008-11-16 21:40:54 +00:00
Julian Seward
2ce349dd7b
Add some regression tests for pthread_barrier handling.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8768
2008-11-14 19:43:44 +00:00
Julian Seward
324d8558d6
Add a couple more tests for API errors in
...
evh__HG_PTHREAD_BARRIER_DESTROY_PRE.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8767
2008-11-14 19:41:19 +00:00
Julian Seward
ee11d2781d
Add initial support for POSIX barriers (pthread_barrier_{init,wait,destroy}).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8766
2008-11-13 13:33:09 +00:00
Julian Seward
24917a1daa
Add performance comments to VG_(sizeFM), and add new method
...
VG_(isEmptyFM), currently commented out.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8765
2008-11-13 13:17:06 +00:00
Julian Seward
70e5fbdf04
Fix debug printing of fd in mmap system calls.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8764
2008-11-13 13:14:00 +00:00
Bart Van Assche
a4ddba81ca
Added regression test for Boost.Threads.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8763
2008-11-10 18:54:46 +00:00
Bart Van Assche
0fc6d04d97
Added configure test for Boost.Threads.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8762
2008-11-10 18:53:42 +00:00
Julian Seward
b69995b756
Update this test a bit. It's basically flawed though.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8761
2008-11-10 16:33:29 +00:00
Julian Seward
2a7aedcf12
Handle EvM GC messaging properly.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8760
2008-11-10 16:19:21 +00:00
Julian Seward
4a3723e8a7
Make sure laog__handle_one_lock_deletion actually gets called as a
...
result of the client doing pthread_mutex_destroy() or
pthread_rwlock_destroy().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8759
2008-11-10 16:16:46 +00:00
Julian Seward
ab920f80a8
Adjust sed scripts used to generate the linker scripts on Linux, so as
...
to delete everything after the trailing ======. This apparently makes
the system buildable with icc 9.1. (patch from Philip Blakely).
Fixes #173099 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8758
2008-11-10 15:05:30 +00:00
Julian Seward
c4759767c7
Use a couple of reader-writer-lock tests from drd.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8757
2008-11-10 02:01:17 +00:00
Julian Seward
cac5a4e9b1
Update expected outputs following a (trivial) change in the source of
...
tc09 in r8753.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8756
2008-11-10 01:16:46 +00:00
Julian Seward
fb05007dbc
Add a new expected output that applies to glibc-2.7 and later.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8755
2008-11-10 00:55:21 +00:00
Julian Seward
b705677134
Add a new expected output that applies to glibc-2.7 and later.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8754
2008-11-10 00:46:52 +00:00
Julian Seward
19529c1c38
More updates to expected outputs. This currently gives Helgrind zero
...
failures on opensuse 10.2 on amd64 (glibc 2.5, gcc-4.1.3).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8753
2008-11-10 00:16:34 +00:00
Julian Seward
7bba5ef8aa
Update expected output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8752
2008-11-09 23:33:32 +00:00
Julian Seward
eb5e457e3e
Move the conflicting accesses in each thread earlier, so that pure h-b
...
is not fooled by the locking on non-conflicted parts of the arrays.
(Not really sure what's going on here, but DRD and Helgrind behave
identically, so I'm not too concerned.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8751
2008-11-09 23:31:19 +00:00
Julian Seward
4757ac5356
Update baseline expected outputs, now that Helgrind uses a different
...
algorithm than in 3.3.x.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8750
2008-11-09 20:47:57 +00:00
Julian Seward
a500c38d13
A bit of tidying up:
...
* get rid of 'struct _EC' (a.k.a 'struct EC_') and use ExeContext
everywhere
* remove stacktrace_to_EC and call
VG_(make_ExeContext_from_StackTrace) directly
* comment out some unused code
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8749
2008-11-08 20:36:26 +00:00
Julian Seward
91442c55a8
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8748
2008-11-08 15:26:53 +00:00
Julian Seward
cf588ba40d
When trying to establish whether or not debuginfo should be read from
...
a file, first the mapping permissions _before_ peering at the file's
header, rather than afterwards. This changes the logic to behave more
like it does in 3.3.x. Fixes #164669 , although really it is all still
rather fragile. The bug report,
http://bugs.kde.org/show_bug.cgi?id=164669 , contains a detailed
explanation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8747
2008-11-08 15:22:19 +00:00
Julian Seward
513611364e
Update expected output, with a line number that's actually correct.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8746
2008-11-08 15:18:53 +00:00
Julian Seward
8f7ec4c30b
Add a second expected output. It appears that a recent glibcs print
...
one (or a value near it) as "+1.0000e+00" instead of "+1.0000e-00".
Or it could be a rounding issue .. I dunno.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8745
2008-11-08 15:17:50 +00:00
Julian Seward
fbf22fd8f3
Attempt to reduce output variance by ensuring mainSort() is never inlined.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8744
2008-11-08 15:15:06 +00:00
Julian Seward
e8eb2c86b4
Use a "sided" comparison rather than a "point" comparison, so as to
...
ensure that gcc generates only one conditional jump per conditional
expression, not two.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8743
2008-11-08 15:14:01 +00:00
Julian Seward
d1dc2a9f7d
Update expected output now that Memcheck's realloc implementation always
...
moves the block, even when the new block is smaller or the same size.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8742
2008-11-08 15:12:48 +00:00
Julian Seward
655e5db3df
Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
...
it doesn't do the "[ ]" thing itself; instead it hands it off to
/usr/bin/[. And that doesn't understand "==" on strings; it wants "="
instead.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8741
2008-11-08 15:11:03 +00:00
Julian Seward
5319fd78d6
Add a new expected output for this test. Really it's a bad test,
...
in the sense that there are a huge number of valid outcomes, but
I'm not sure how to test it better.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8740
2008-11-08 15:06:57 +00:00
Julian Seward
68fec5b14a
Update expected output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8739
2008-11-08 15:05:49 +00:00
Julian Seward
9ea912641f
Run this test -q, so as to remove the variance in outputs exhibited as
...
different numbers of blank lines than expected. I assume this
signifies that different numbers of forked-but-not-exec'd processes
are exiting, but I'm not sure.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8738
2008-11-08 15:04:58 +00:00
Julian Seward
48c4779e66
Mark allocation operators as no-inline so as to make the test more
...
repeatable across different gccs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8737
2008-11-08 15:01:22 +00:00
Julian Seward
2a5db7f788
Support sys_stime on x86-linux. Fixes #159285 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8736
2008-11-06 23:11:42 +00:00
Julian Seward
e3cccbaf9a
Fix integer-pointer comparisons in new spu_ wrappers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8735
2008-11-06 09:22:50 +00:00
Julian Seward
3a2fbbfafd
Add ioctl wrappers for Linux wireless extensions version 22.
...
Patch from Gwenael Lambrouin. Fixes #159452 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8734
2008-11-05 16:59:55 +00:00
Julian Seward
650da4509d
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8733
2008-11-05 12:46:43 +00:00
Julian Seward
4677e728df
Try to compute a correct VG base directory, regardless of how/where
...
the script is invoked. See #162092 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8732
2008-11-05 12:05:14 +00:00
Julian Seward
af77aae9cd
Support sys_spu_run and sys_spu_create on ppc32-linux. Patch by
...
Kenneth Skovhede. Fixes #167288 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8731
2008-11-05 11:36:59 +00:00
Julian Seward
f4bffe6909
Support sys_pipe2 on {amd64,x86}-linux. Also, update syscall numbers
...
for all supported Linuxes to those in linux-2.6.28-rc3.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8730
2008-11-05 11:20:59 +00:00
Bart Van Assche
7955eb2820
Make sure that $d is always an absolute path, even if vg-in-place has been started without specifying a path. Furthermore, vg-in-place now also works when started from a path containing spaces.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8729
2008-11-04 17:49:58 +00:00
Bart Van Assche
1d1e8e3562
Updated ignore lists.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8728
2008-11-04 17:42:00 +00:00
Julian Seward
217f01f3e2
* add some assertions to frame-level wildcarding mechanism
...
* remove a couple of tabs
* clarify related documentation a bit
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8727
2008-11-04 11:29:19 +00:00
Julian Seward
279a7e01cf
Update documentation on suppressions following addition of frame-level
...
wildcarding in suppressions (r8725). Also clarify a couple of bits of
wording.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8726
2008-11-04 01:38:02 +00:00
Julian Seward
53ed6e0dd5
Improvements to the suppression mechanism:
...
* Allow frame-level wildcarding in suppressions. Based on a patch by
Akos PASZTORY. Fixes #151612 . With this change, a line "..." in a
suppression stacktrace matches any number of frames, including zero.
* Show line numbers in syntax errors when parsing supp files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8725
2008-11-03 23:10:25 +00:00
Julian Seward
79765330c3
Add summaries for more than 60 bugs logged in bugzilla since 3.3.1 was
...
released. Looking at this lot, you'd get the impression the system is
so bug-riddled it's amazing it works at all.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8724
2008-11-02 23:46:32 +00:00
Julian Seward
b9a0667306
Fixes for compilation warnings from the apparently very strict
...
gcc-4.3.2 shipped with Ubuntu 8.10.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8723
2008-11-01 23:55:32 +00:00