Nicholas Nethercote 092c9b944b Added "Int exitcode" argument to SK_(fini)(), because it could be useful
for skins.

Changed lackey to print out the exit code.

Changed AUTOMAKE_OPTIONS back to 1.5 (whoops)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1538
2003-04-22 21:41:40 +00:00

38 lines
1.0 KiB
C

/*--------------------------------------------------------------------*/
/*--- An example skin. 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 skin");
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 ---*/
/*--------------------------------------------------------------------*/