11 Commits

Author SHA1 Message Date
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
64ffae8a11 - Added more comments in DRD's malloc wrappers.
- Fixed memory allocation counters.
- Client memory is now freed in the realloc() wrapper in all cases where
  it should be freed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10294
2009-06-10 19:24:20 +00:00
Bart Van Assche
b4443ebc0a Fixed bug in DRD's realloc() wrapper.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10282
2009-06-09 11:12:07 +00:00
Bart Van Assche
1b2e2a13b4 Fixed a bug in DRD's malloc wrappers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10191
2009-06-01 18:36:59 +00:00
Bart Van Assche
a17097260c Introduced the functions DRD_(malloclike_block)() and DRD_(freelike_block)().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9711
2009-05-01 12:21:39 +00:00
Bart Van Assche
219e77b9bc - Reindented code such that it uses three spaces for indentation instead
of two. The indentation of the DRD source code is now consistent with
  the other Valgrind source files.
- Added emacs mode line with indentation settings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9496
2009-03-26 19:07:15 +00:00
Nicholas Nethercote
3ed4532cde In the core, include malloc_usable_size() as one of the functions that must
be replaced if malloc() et al are replaced by a tool.  This is because
different tools implement the function in different ways.

Add an appropriate malloc_usable_size() replacement to each of Memcheck,
Helgrind, DRD, Ptrcheck, Massif.

Update memcheck/tests/malloc_usable and add massif/tests/malloc_usable.

Merged from the DARWIN branch.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9193
2009-02-17 04:31:18 +00:00
Bart Van Assche
b71a8e5966 - Updated copyright statements.
- Improved consistency of source file headers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9182
2009-02-16 19:43:56 +00:00
Bart Van Assche
c13f1a4f74 Wrapped DRD_() macro around even more function and variable names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9171
2009-02-15 14:46:17 +00:00
Julian Seward
335992d8fc Merge all remaining changes from branches/PTRCHECK. These are some
relatively minor extensions to m_debuginfo, a major overhaul of
m_debuginfo/readdwarf3.c to get its space usage under control, and
changes throughout the system to enable heap-use profiling.

The majority of the merged changes were committed into
branches/PTRCHECK as the following revs: 8591 8595 8598 8599 8601 and
8161.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8621
2008-09-18 18:12:50 +00:00
Bart Van Assche
6e368a9f37 Renamed exp-drd directory into drd. Moved drd from the experimental tool class to the class of regular tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361
2008-07-04 15:14:35 +00:00