|
From: Nicholas N. <nj...@ca...> - 2004-09-02 08:51:53
|
CVS commit by nethercote:
Arch-abstraction: renamed "vg_skin.h" as "tool.h". Kept a residual vg_skin.h
(which just #includes tool.h) for backward-compatibility.
M +1 -0 valgrind.spec.in 1.14
M +1 -1 cachegrind/cg_main.c 1.77
M +1 -1 corecheck/cc_main.c 1.20
M +4 -4 coregrind/core.h 1.4
M +1 -1 coregrind/gen_toolint.pl 1.5
M +2 -2 coregrind/vg_errcontext.c 1.60
M +2 -2 coregrind/vg_instrument.c 1.14
M +1 -1 coregrind/vg_symtab2.h 1.8
M +7 -7 coregrind/docs/coregrind_tools.html 1.3
M +1 -1 helgrind/hg_main.c 1.83
M +8 -7 include/Makefile.am 1.6
M +2 -2 include/vg_profile.c 1.12
M +1 -1 lackey/lk_main.c 1.24
M +1 -1 massif/ms_main.c 1.15
M +1 -1 memcheck/mac_shared.h 1.23
M +1 -1 none/nl_main.c 1.20
R include/vg_skin.h.base 1.29
--- valgrind/valgrind.spec.in #1.13:1.14
@@ -37,4 +37,5 @@
/usr/include/valgrind/memcheck.h
/usr/include/valgrind/helgrind.h
+/usr/include/valgrind/tool.h
/usr/include/valgrind/vg_constants_skin.h
/usr/include/valgrind/vg_kerneliface.h
--- valgrind/cachegrind/cg_main.c #1.76:1.77
@@ -30,5 +30,5 @@
*/
-#include "vg_skin.h"
+#include "tool.h"
//#include "vg_profile.c"
--- valgrind/corecheck/cc_main.c #1.19:1.20
@@ -30,5 +30,5 @@
*/
-#include "vg_skin.h"
+#include "tool.h"
void SK_(pre_clo_init)(void)
--- valgrind/coregrind/core.h #1.3:1.4
@@ -44,8 +44,8 @@
#include "vg_constants.h"
-/* All stuff visible to core and tools goes in vg_skin.h. Things
+/* All stuff visible to core and tools goes in tool.h. Things
* visible to core but not visible to any tools should go in this
* file, core.h. */
-#include "vg_skin.h"
+#include "tool.h"
#include "valgrind.h"
@@ -286,5 +286,5 @@ extern void VGP_(done_profiling) ( void
/* These structs are not exposed to tools to mitigate possibility of
binary-incompatibilities when the core/tool interface changes. Instead,
- set functions are provided (see include/vg_skin.h). */
+ set functions are provided (see include/tool.h). */
typedef
struct {
@@ -1620,5 +1620,5 @@ extern Int VGOFF_(ldt);
extern Int VGOFF_(tls_ptr);
-/* Nb: Most helper offsets are in include/vg_skin.h, for use by tools */
+/* Nb: Most helper offsets are in include/tool.h, for use by tools */
extern Int VGOFF_(helper_undefined_instruction);
--- valgrind/coregrind/gen_toolint.pl #1.4:1.5
@@ -141,5 +141,5 @@
$indent = " ";
} elsif ($output eq "initfunc") {
- $include = "vg_skin.h";
+ $include = "tool.h";
$generate = sub ($$$@) {
my ($pfx, $ret, $func, @args) = @_;
--- valgrind/coregrind/vg_errcontext.c #1.59:1.60
@@ -68,5 +68,5 @@ typedef
enum (with element values in the normal range (0..)) for `ekind'.
Functions for getting/setting the tool-relevant fields are in
- include/vg_skin.h.
+ include/tool.h.
When errors are found and recorded with VG_(maybe_record_error)(), all
@@ -141,5 +141,5 @@ typedef
/* Suppressions. Tools can get/set tool-relevant parts with functions
- declared in include/vg_skin.h. Extensible via the 'extra' field.
+ declared in include/tool.h. Extensible via the 'extra' field.
Tools can use a normal enum (with element values in the normal range
(0..)) for `skind'. */
--- valgrind/coregrind/vg_instrument.c #1.13:1.14
@@ -30,9 +30,9 @@
*/
-/* We only import vg_skin.h here, because this file only provides functions
+/* We only import tool.h here, because this file only provides functions
for doing things that could be done directly by the tool -- it's just to
make tools' lives easier, rather than let them do something they
couldn't otherwise do. */
-#include "vg_skin.h"
+#include "tool.h"
--- valgrind/coregrind/vg_symtab2.h #1.7:1.8
@@ -119,5 +119,5 @@ struct _ScopeRange {
/* A structure which contains information pertaining to one mapped
- text segment. (typedef in vg_skin.h) */
+ text segment. (typedef in tool.h) */
struct _SegInfo {
struct _SegInfo* next; /* list of SegInfos */
--- valgrind/coregrind/docs/coregrind_tools.html #1.2:1.3
@@ -463,5 +463,5 @@
functions requires some work, it's much less than doing error handling from
scratch because the core is doing most of the work. See the type
-<code>VgNeeds</code> in <code>include/vg_skin.h</code> for full details of all
+<code>VgNeeds</code> in <code>include/tool.h</code> for full details of all
the needs.<p>
@@ -479,5 +479,5 @@
More information about ``details'', ``needs'' and ``trackable events'' can be
-found in <code>include/vg_skin.h</code>.<p>
+found in <code>include/tool.h</code>.<p>
<a name="instr"></a>
@@ -513,5 +513,5 @@
undoubtedly many others that I should note but haven't thought of.<p>
-The file <code>include/vg_skin.h</code> contains all the types,
+The file <code>include/tool.h</code> contains all the types,
macros, functions, etc. that a tool should (hopefully) need, and is the only
<code>.h</code> file a tool should need to <code>#include</code>.<p>
@@ -520,5 +520,5 @@
are deep reasons for this, trust us). Valgrind provides an implementation of a
reasonable subset of the C library, details of which are in
-<code>vg_skin.h</code>.<p>
+<code>tool.h</code>.<p>
Similarly, when writing a tool, you shouldn't need to look at any of the code
@@ -526,5 +526,5 @@
something.<p>
-<code>vg_skin.h</code> has a reasonable amount of documentation in it that
+<code>tool.h</code> has a reasonable amount of documentation in it that
should hopefully be enough to get you going. But ultimately, the tools
distributed (Memcheck, Addrcheck, Cachegrind, Lackey, etc.) are probably the
@@ -582,5 +582,5 @@
If you just want to know whether a program point has been reached, using the
-<code>OINK</code> macro (in <code> include/vg_skin.h</code>) can be easier than
+<code>OINK</code> macro (in <code> include/tool.h</code>) can be easier than
using GDB.<p>
@@ -690,5 +690,5 @@
<code>VGP_PUSHCC</code> and <code>VGP_POPCC</code> macros to record time spent
doing certain things. New profiling event numbers must not overlap with the
-core profiling event numbers. See <code>include/vg_skin.h</code> for details
+core profiling event numbers. See <code>include/tool.h</code> for details
and Memcheck for an example.
--- valgrind/helgrind/hg_main.c #1.82:1.83
@@ -30,5 +30,5 @@
*/
-#include "vg_skin.h"
+#include "tool.h"
#include "helgrind.h"
--- valgrind/include/Makefile.am #1.5:1.6
@@ -1,5 +1,5 @@
EXTRA_DIST = \
vg_profile.c \
- vg_skin.h.base
+ tool.h.base
incincdir = $(includedir)/valgrind
@@ -8,14 +8,15 @@
valgrind.h \
vg_constants_skin.h \
- vg_skin.h \
- vg_kerneliface.h
+ tool.h \
+ vg_kerneliface.h \
+ vg_skin.h
-BUILT_SOURCES = vg_skin.h
-CLEANFILES = vg_skin.h
+BUILT_SOURCES = tool.h
+CLEANFILES = tool.h
-vg_skin.h: $(srcdir)/vg_skin.h.base \
+tool.h: $(srcdir)/tool.h.base \
$(top_srcdir)/coregrind/gen_toolint.pl $(top_srcdir)/coregrind/toolfuncs.def
rm -f $@
- cat $(srcdir)/vg_skin.h.base > $@
+ cat $(srcdir)/tool.h.base > $@
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl toolproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl initproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
--- valgrind/include/vg_profile.c #1.11:1.12
@@ -35,5 +35,5 @@
#define __VG_PROFILE_C
-#include "vg_skin.h"
+#include "tool.h"
/* get rid of these, if possible */
@@ -41,5 +41,5 @@
#include <sys/time.h>
-/* Override the empty definitions from vg_skin.h */
+/* Override the empty definitions from tool.h */
#undef VGP_PUSHCC
#undef VGP_POPCC
--- valgrind/lackey/lk_main.c #1.23:1.24
@@ -30,5 +30,5 @@
*/
-#include "vg_skin.h"
+#include "tool.h"
/* Nb: use ULongs because the numbers can get very big */
--- valgrind/massif/ms_main.c #1.14:1.15
@@ -35,5 +35,5 @@
// structures below for more info on how things work.
-#include "vg_skin.h"
+#include "tool.h"
//#include "vg_profile.c"
--- valgrind/memcheck/mac_shared.h #1.22:1.23
@@ -37,5 +37,5 @@
#define __MAC_SHARED_H
-#include "vg_skin.h"
+#include "tool.h"
#define MAC_(str) VGAPPEND(vgMAC_,str)
--- valgrind/none/nl_main.c #1.19:1.20
@@ -29,5 +29,5 @@
*/
-#include "vg_skin.h"
+#include "tool.h"
void SK_(pre_clo_init)(void)
|