mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 18:56:10 +00:00
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
38 lines
1.0 KiB
C
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 ---*/
|
|
/*--------------------------------------------------------------------*/
|