Commit Graph

8 Commits

Author SHA1 Message Date
Nicholas Nethercote
a5d1db8fc7 Use HChar for format strings to printf-like functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3696
2005-05-13 21:49:30 +00:00
Julian Seward
dbdcd9034c Sudden attack of 64-bit paranoia: therefore stick even more (probably
pointless) casts in.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3688
2005-05-12 23:23:38 +00:00
Nicholas Nethercote
4cb3e8a7e4 Modularised vg_skiplist.c as m_skiplist.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3671
2005-05-12 04:37:27 +00:00
Nicholas Nethercote
a653c5da3c Cleaned up vg_messages.c and related printf stuff. vg_messages.c is now a
layer above the printf stuff in vg_mylibc.c, which is layered over
m_debuglog.  This makes the module interfaces neater, more consistent, and
cuts 40 lines of code.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3670
2005-05-12 03:51:15 +00:00
Nicholas Nethercote
d7aa13765c Remove dead macro.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3664
2005-05-11 19:03:57 +00:00
Nicholas Nethercote
247e241160 Modularised the core/tool interface ('details', 'needs' and VG_(tdict))
into a new module m_tooliface.  Pretty straightforward.  Touches a lot
of files because many files use this interface and so need to include
the headers for the new module.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3652
2005-05-10 04:37:01 +00:00
Nicholas Nethercote
eb32bc7045 Modularised the malloc/free stuff into two modules: m_mallocfree for the
malloc/free implementation, and m_replacemalloc with the stuff for the tools
that replace malloc with their own version.  Previously these two areas of
functionality were mixed up somewhat.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3648
2005-05-10 02:47:21 +00:00
Nicholas Nethercote
a08662c48c Big clean-up: changed the core/tool interface to be mediated entirely
through the VG_(tdict) function dictionary, rather than using TL_(foo)
functions.

This facilitated the following changes:

- Removed the "TL_" prefix, which is no longer needed.

- Removed the auto-generated files vg_toolint.[ch], which were no longer
  needed, which simplifies the build a great deal.  Their (greatly
  streamlined) contents went into core.h and vg_needs.h (and will soon
  go into a new module defining the core/tool interface).  
  
  This also meant that tool.h.base reverted to tool.h (so no more
  accidentally editing tool.h and not having the changes go into the
  repo, hooray!)  And gen_toolint.pl was removed.  And toolfuncs.def was
  removed.

- Removed VG_(missing_tool_func)(), no longer used.

- Bumped the core/tool interface major version number to 8.  And I
  killed the minor version number, which was never used.  The layout
  of the ToolInfo struct is such that this should not cause problems.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3644
2005-05-09 01:02:08 +00:00