Mark Wielaard
3392155359
Upgrade to GNU General Public License version 3
...
- Update COPYING and VEX/LICENSE.GPL to version 3.
- Update README, NEWS, docs/manual license and contributing text.
- Update file headers to say either version 3 of the License,
or (at your option) any later version.
- Leave tests and perf file headers as is, unless the code is derived
from Valgrind/VEX.
- Leave valgrind.h, cachegrind.h, callgrind.h, drd.h, helgrind.h,
memcheck.h and dhat.h Hybrid-BSD licensed.
2025-10-18 00:55:07 +02:00
Paul Floyd
75321f92b1
Fix various clang warnings
...
Mostly missing 'void' in function prototypes.
2023-08-25 23:00:58 +02:00
Bart Van Assche
fd5a12afcb
drd: Process stack registration client requests
...
Reset stack information if the client registers a new stack
2021-02-20 08:44:50 -08:00
Bart Van Assche
01f01fd910
drd: Update copyright notices
2020-10-10 18:11:31 -07:00
Mark Wielaard
461cc5c003
Cleanup GPL header address notices by using http://www.gnu.org/licenses/
...
Sync VEX/LICENSE.GPL with top-level COPYING file. We used 3 different
addresses for writing to the FSF to receive a copy of the GPL. Replace
all different variants with an URL <http://www.gnu.org/licenses/ >.
The following files might still have some slightly different (L)GPL
copyright notice because they were derived from other programs:
- files under coregrind/m_demangle which come from libiberty:
cplus-dem.c, d-demangle.c, demangle.h, rust-demangle.c,
safe-ctype.c and safe-ctype.h
- coregrind/m_demangle/dyn-string.[hc] derived from GCC.
- coregrind/m_demangle/ansidecl.h derived from glibc.
- VEX files for FMA detived from glibc:
host_generic_maddf.h and host_generic_maddf.c
- files under coregrin/m_debuginfo derived from LZO:
lzoconf.h, lzodefs.h, minilzo-inl.c and minilzo.h
- files under coregrind/m_gdbserver detived from GDB:
gdb/signals.h, inferiors.c, regcache.c, regcache.h,
regdef.h, remote-utils.c, server.c, server.h, signals.c,
target.c, target.h and utils.c
Plus the following test files:
- none/tests/ppc32/testVMX.c derived from testVMX.
- ppc tests derived from QEMU: jm-insns.c, ppc64_helpers.h
and test_isa_3_0.c
- tests derived from bzip2 (with embedded GPL text in code):
hackedbz2.c, origin5-bz2.c, varinfo6.c
- tests detived from glibc: str_tester.c, pth_atfork1.c
- test detived from GCC libgomp: tc17_sembar.c
- performance tests derived from bzip2 or tinycc (with embedded GPL
text in code): bz2.c, test_input_for_tinycc.c and tinycc.c
2019-05-26 20:07:51 +02:00
Bart Van Assche
df10905d33
drd: Fix fork() handling
...
The thread ID passed to DRD_(drd_thread_atfork_child)() is a Valgrind
thread ID instead of a DRD thread ID. This patch fixes bug 401578.
2018-12-01 10:45:51 -08:00
Bart Van Assche
e3bc6c7dc7
drd: Add support for calling pthread_create() from inside a shared library - bug #356374
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16342
2017-05-09 04:45:30 +00:00
Ivo Raisr
38edd50c0e
Update copyright end year to 2017 in preparation for 3.13 release.
...
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16333
2017-05-04 15:09:39 +00:00
Julian Seward
adc2dafee9
Update copyright dates, to include 2015. No functional change.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577
2015-08-21 11:32:26 +00:00
Florian Krohm
b790e08474
Fix printf format inconsistencies as pointed out by gcc -Wformat-signedness.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15495
2015-08-05 14:38:57 +00:00
Julian Seward
ac60633d65
Bug 345248 - add support for Solaris OS in valgrind
...
Authors of this port:
Petr Pavlu setup@dagobah.cz
Ivo Raisr ivosh@ivosh.net
Theo Schlossnagle theo@omniti.com
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426
2015-07-21 14:44:28 +00:00
Florian Krohm
7a474c9455
Fix typos in source code. Patch by Dmitriy (olshevskiy87@bk.ru).
...
Fixes BZ #349874
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15394
2015-07-05 21:53:33 +00:00
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