A bit of tidying up:
* get rid of 'struct _EC' (a.k.a 'struct EC_') and use ExeContext
everywhere
* remove stacktrace_to_EC and call
VG_(make_ExeContext_from_StackTrace) directly
* comment out some unused code
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8749 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/libhb.h b/helgrind/libhb.h
index 6031332..082150c 100644
--- a/helgrind/libhb.h
+++ b/helgrind/libhb.h
@@ -39,17 +39,12 @@
/* Abstract to user: synchronisation objects */
/* typedef struct _SO SO; */ /* now in hg_lock_n_thread.h */
-/* Abstract to the lib: execution contexts */
-/* struct _EC will be defined by user at some point. */
-typedef struct _EC EC;
-
/* Initialise library; returns Thr* for root thread. 'shadow_alloc'
should never return NULL, instead it should simply not return if
they encounter an out-of-memory condition. */
Thr* libhb_init (
void (*get_stacktrace)( Thr*, Addr*, UWord ),
- struct _EC* (*stacktrace_to_EC)( Addr*, UWord ),
- struct _EC* (*get_EC)( Thr* )
+ ExeContext* (*get_EC)( Thr* )
);
/* Shut down the library, and print stats (in fact that's _all_