Florian Krohm
d47181fd7d
Add command line flag --max-threads=<integer> to increase the number of
...
threads that valgrind can handle. No recompile is needed.
Part of fixing BZ #337869 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14932
2015-02-13 19:08:26 +00:00
Julian Seward
9dbe973b16
Add some parentheses to keep gcc 5 (prerelease) from complaining.
...
No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14877
2015-01-20 00:12:18 +00:00
Florian Krohm
bfb5d3fc36
Remove some unneded checks as identified by IBM's BEAM checker.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14518
2014-09-11 22:15:39 +00:00
Bart Van Assche
4662f1d8cc
drd: Move VG_(getenv)("DRD_VERIFY_CONFLICT_SET")
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14249
2014-08-09 12:58:17 +00:00
Bart Van Assche
8701c89a36
drd: Clear conflict set after fork ( #338115 )
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14244
2014-08-08 16:27:30 +00:00
Bart Van Assche
6822f42ee1
drd: Add command-line option --verify-conflict-set
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14242
2014-08-08 16:17:58 +00:00
Bart Van Assche
19064bf4a0
drd: Build fix for ENABLE_DRD_CONSISTENCY_CHECKS
...
From: Ivo Raisr <ivosh@ivosh.net>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13863
2014-03-10 18:58:19 +00:00
Bart Van Assche
0dabd6dfd3
drd: Update copyright notice
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13613
2013-10-04 05:55:30 +00:00
Petar Jovanovic
5dd4c02e39
mips: adding MIPS64LE support to Valgrind
...
Necessary changes to Valgrind to support MIPS64LE on Linux.
Minor cleanup/style changes embedded in the patch as well.
The change corresponds to r2687 in VEX.
Patch written by Dejan Jevtic and Petar Jovanovic.
More information about this issue:
https://bugs.kde.org/show_bug.cgi?id=313267
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13292
2013-02-27 23:17:33 +00:00
Florian Krohm
d0aa69c331
Fix more Char/HChar mixups. Closing in...
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13119
2012-11-10 22:29:54 +00:00
Julian Seward
4a3633e266
Update copyright dates to include 2012.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843
2012-08-05 15:46:46 +00:00
Julian Seward
3e344c57f6
Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
...
mips-valgrind@rt-rk.com , Bug 270777.
Valgrind: changes to existing files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12616
2012-06-07 09:13:21 +00:00
Bart Van Assche
af76b5a089
drd: Remove drd/drd_list.h again because of its GPLv2 license.
...
For more info about Valgrind source code licensing, see also:
[1] Top level README line 51.
[2] http://valgrind.org/docs/manual/manual-intro.html#manual-intro.overview , last paragraph.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12356
2012-01-25 20:36:27 +00:00
Bart Van Assche
f7db19c85a
drd: Use macros and inline functions for list manipulation
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12353
2012-01-24 18:28:55 +00:00
Bart Van Assche
135da8ceff
drd: Source code refactoring - use DRD_(thread_get_vc)() wherever appropriate
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12350
2012-01-22 08:58:31 +00:00
Bart Van Assche
61dff515e6
drd: Source code refactoring - use DRD_(thread_get_vc)() wherever appropriate
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12349
2012-01-22 08:40:42 +00:00
Bart Van Assche
f7fb5bb661
Remove trailing whitespace
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12293
2011-12-11 20:34:03 +00:00
Bart Van Assche
12ec9d298a
Remove emacs modeline and/or local variables from DRD source files
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12279
2011-12-04 15:54:19 +00:00
Bart Van Assche
45e4d0e7ee
drd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing output format slightly.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12146
2011-10-13 18:04:30 +00:00
Bart Van Assche
b7a5b789ef
drd: Enable XML output. See also #282949 . To do: document the output format.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12137
2011-10-11 19:08:39 +00:00
Bart Van Assche
9d1823dac9
DRD, refactoring: Introduce DRD_(trace_msg)()
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12120
2011-10-08 08:29:29 +00:00
Bart Van Assche
0230aa2ac2
drd: drd_thread.c source code cleanup
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11942
2011-07-29 12:30:43 +00:00
Bart Van Assche
6cf2bc2c34
drd: Delay deletion of memory access information of joined threads in order not
...
to miss any races caused by these threads.
To do: refine handling of pthread_once() again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11926
2011-07-28 09:54:37 +00:00
Bart Van Assche
98e2b90f54
drd: Source code cleanup - merge two blocks of tracing code
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11851
2011-07-03 11:43:45 +00:00
Bart Van Assche
32e94d5a60
drd: Source code cleanup - change two variables from int to bool and outdent one code block
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11848
2011-07-03 11:40:49 +00:00
Bart Van Assche
ea4cf7d848
drd: Add an assert statement
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11847
2011-07-03 11:39:30 +00:00
Bart Van Assche
e53eb1ec0c
Updated modeline and copyright statement in DRD source files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11642
2011-03-13 12:02:44 +00:00
Bart Van Assche
1997767aad
DRD: More source code cleanup (constant propagation).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11631
2011-03-12 12:34:44 +00:00
Bart Van Assche
ab798ee7e4
DRD: avoid triggering an assertion failure if a thread is canceled while waiting inside pthread_mutex_lock(). Fixes #267413 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11578
2011-03-03 19:59:20 +00:00
Bart Van Assche
2ca0b1b5d1
DRD: handle fork() in processes with detached threads correctly (see also #255355 ).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11532
2011-02-09 11:55:12 +00:00
Bart Van Assche
79f1b01520
DRD: do not assert() upon fork(). Fixes the DRD part of #255355 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11520
2011-02-03 17:47:50 +00:00
Bart Van Assche
ad86d78a6c
E-mail address update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11420
2010-10-10 18:07:31 +00:00
Bart Van Assche
f9870efee2
Added the per-thread property 'on_alt_stack'.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11326
2010-09-02 14:43:18 +00:00
Bart Van Assche
a1d51679d9
Added command-line option --trace-alloc and disabled --free-is-write by default.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11301
2010-08-29 09:19:07 +00:00
Julian Seward
9b0574dff8
Update copyright dates to 2010.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121
2010-05-03 21:37:12 +00:00
Bart Van Assche
d0bb010178
Removed trailing whitespace in C source and header files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11052
2010-02-21 14:52:59 +00:00
Nicholas Nethercote
8ecd57ded4
Remove unnecessary #includes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10766
2009-08-10 07:47:43 +00:00
Bart Van Assche
fd574c0b25
Report an error message instead of triggering an assertion failure when a non-existing thread ID is passed to pthread_join() or pthread_cancel().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10674
2009-07-31 08:26:17 +00:00
Bart Van Assche
d6cc7becb2
Print an easy-to-understand message in case the client program tries to create more threads than what is currently supported by DRD.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10593
2009-07-24 11:11:30 +00:00
Bart Van Assche
6529f12189
Replaced code for suppressing the stack memory in use at the time a
...
thread is being created by code for suppressing the memory allocated
from inside the pthread_create() call. The new implementation should be
a more portable solution for suppressing data races triggered by the
thread-local-storage implementation of a Pthreads library.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10584
2009-07-24 08:20:10 +00:00
Bart Van Assche
511096144e
DRD no longer prints the thread ID's assigned by the Valgrind core but only those assigned by DRD itself.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10488
2009-07-19 17:53:56 +00:00
Julian Seward
c020a7e3b6
Merge drd/ changes from branches/MESSAGING_TIDYUP r10464.
...
See trunk r10465 commit message for details.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10466
2009-07-15 14:49:17 +00:00
Bart Van Assche
45c852ee2e
Changed default segment merging interval from 64 to 10.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10376
2009-06-24 18:34:10 +00:00
Bart Van Assche
6b937d7d95
Combined DRD_(thread_new_segment)() and DRD_(thread_combine_vc_sync)()
...
into the function DRD_(thread_new_segment_and_combine_vc)() because
before DRD_(thread_combine_vc_sync)() was called the function
DRD_(thread_new_segment)() was always called.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10357
2009-06-21 18:07:35 +00:00
Bart Van Assche
2a99145bc2
Made --drd-stats=yes output even more verbose.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10356
2009-06-21 11:51:23 +00:00
Bart Van Assche
725df5fb50
Updated code for statistics printed by --drd-stats=yes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10354
2009-06-21 09:26:27 +00:00
Bart Van Assche
e34229bd49
svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10279
2009-06-08 18:20:42 +00:00
Bart Van Assche
f6d9317997
Consistency improvement: made sure that for all synchronization operations vector clocks are combined after having created a new segment instead of before.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10265
2009-06-06 12:26:05 +00:00
Bart Van Assche
e73284e37f
- Added support for most of the ANNOTATE_...() macro's supported by
...
ThreadSanitizer.
- Modified DRD's error reporting code such that it does no longer let
the Valgrind core print the Valgrind thread ID but that it now prints
the DRD thread ID and name. Updated expected output files where
necessary.
- Modified drd/test/Makefile.am such that the tests using gcc's built-in
functions for atomic memory access such that these are only compiled when
the gcc version in use supports these built-in functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186
2009-05-31 18:53:54 +00:00
Bart Van Assche
9a196291ec
Made DRD_(thread_set_pthreadid)() idempotent.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9590
2009-04-23 17:12:39 +00:00