|
From: Nicholas N. <nj...@ca...> - 2004-08-23 14:10:44
|
CVS commit by nethercote:
Make some changes to Nulgrind -- it looks like Jeremy made some changes to it
as part of FV, but then later these changes become unnecessary. Anyway, it now
looks more like the other tools again.
M +15 -22 nl_main.c 1.19
--- valgrind/none/nl_main.c #1.18:1.19
@@ -31,20 +31,5 @@
#include "vg_skin.h"
-//float SK_(shadow_ratio) = 9. / 8.;
-
-static void post_clo_init(void)
-{
-}
-
-static UCodeBlock* instrument(UCodeBlock* cb, Addr a)
-{
- return cb;
-}
-
-static void fini(Int exitcode)
-{
-}
-
-static void pre_clo_init(void)
+void SK_(pre_clo_init)(void)
{
VG_(details_name) ("Nulgrind");
@@ -56,14 +41,22 @@ static void pre_clo_init(void)
/* No needs, no core events to track */
+}
- /* entrypoints */
- VG_(init_post_clo_init)(post_clo_init);
- VG_(init_instrument)(instrument);
- VG_(init_fini)(fini);
+void SK_(post_clo_init)(void)
+{
}
-VG_DETERMINE_INTERFACE_VERSION(pre_clo_init, 0)
+UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a)
+{
+ return cb;
+}
+
+void SK_(fini)(Int exitcode)
+{
+}
+
+VG_DETERMINE_INTERFACE_VERSION(SK_(pre_clo_init), 0)
/*--------------------------------------------------------------------*/
-/*--- end nl_main.c ---*/
+/*--- end ---*/
/*--------------------------------------------------------------------*/
|