From: Nicholas Nethercote Date: Wed, 16 Oct 2002 08:38:58 +0000 (+0000) Subject: Minor update. X-Git-Tag: svn/VALGRIND_1_9_4~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a33a377c3edbdb344c2154dd5f9d71d15a484b0;p=thirdparty%2Fvalgrind.git Minor update. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1233 --- diff --git a/coregrind/docs/skins.html b/coregrind/docs/skins.html index fb92a74571..e21a7975da 100644 --- a/coregrind/docs/skins.html +++ b/coregrind/docs/skins.html @@ -363,12 +363,17 @@ options and must do some initialisation after option processing takes place (``clo'' stands for ``command line options'').

The first argument to SK_(pre_clo_init)() must be initialised with -the ``needs'' for a skin. Of these, name and -description are compulsory. The rest are mostly booleans, and can -be left untouched (they default to False). They determine whether -a skin can do various things such as: record, report and suppress errors; -process command line options; wrap system calls; record extra information -about malloc'd blocks, etc.

+various ``details'' for a skin. These are all compulsory except for +version. They are used when constructing the startup message, +except for which is used if VG_(skin_panic)() is +ever called, or a skin assertion fails.

+ +The second argument to SK_(pre_clo_init)() must be initialised with +the ``needs'' for a skin. They are mostly booleans, and can be left untouched +(they default to False). They determine whether a skin can do +various things such as: record, report and suppress errors; process command +line options; wrap system calls; record extra information about malloc'd +blocks, etc.

For example, if a skin wants the core's help in recording and reporting errors, it must set the skin_errors need to True, and then @@ -379,7 +384,7 @@ scratch because the core is doing most of the work. See the type VgNeeds in include/vg_skin.h for full details of all the needs.

-The second argument to SK_(pre_clo_init)() must be initialised to +The third argument to SK_(pre_clo_init)() must be initialised to indicate which events in core the skin wants to be notified about. These include things such as blocks of memory being malloc'd, the stack pointer changing, a mutex being locked, etc. If a skin wants to know about this,