Nicholas Nethercote fb2d543ee8 Started to rescind the name "skin", replacing it with "tool". Did this in all
the places that normal users will see:

  - command line: --tool=foo (although --skin=foo still works)
  - docs: removed all traces (included renaming coregrind_skins.html to
    coregrind_tools.html)
  - in the usage messages
  - in error messages

Also did in in some places that I judged were unlikely to cause clashes with
existing workspaces:

  - in the header comments of many files (eg. "This file is part of Memcheck, a
    Valgrind tool for...")
  - in the regtests script
  - in the .supp files
  - in AUTHORS
  - in README_MISSING_SYSCALL_OR_IOCTL

Also update the AUTHORS file to mention Jeremy.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2027
2003-11-14 17:47:54 +00:00

38 lines
1.0 KiB
C

/*--------------------------------------------------------------------*/
/*--- An example tool. ex_main.c ---*/
/*--------------------------------------------------------------------*/
#include "vg_skin.h"
VG_DETERMINE_INTERFACE_VERSION
void SK_(pre_clo_init)()
{
VG_(details_name) ("Example");
VG_(details_version) ("0.0.1");
VG_(details_description) ("an example Valgrind tool");
VG_(details_copyright_author)(
"Copyright (C) 2002-2003, and put in the public domain, by Santa Claus.");
VG_(details_bug_reports_to) ("santa.claus@northpole.org");
/* No needs, no core events to track */
}
void SK_(post_clo_init)(void)
{
}
UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a)
{
return cb;
}
void SK_(fini)(exitcode)
{
}
/*--------------------------------------------------------------------*/
/*--- end ex_main.c ---*/
/*--------------------------------------------------------------------*/