X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mono%2Fmini%2Fdebugger-agent.h;h=3267f82740e77dc4428855ec8a8d75b64e978e78;hb=3aeeae6230445e3544fde47221edf45f5230a316;hp=02853d0856b9bfe6f8e2b2ef3981272db236535c;hpb=39ad7e378672cec049e83a762f21e6f84e954a43;p=mono.git diff --git a/mono/mini/debugger-agent.h b/mono/mini/debugger-agent.h index 02853d0856b..3267f82740e 100644 --- a/mono/mini/debugger-agent.h +++ b/mono/mini/debugger-agent.h @@ -1,62 +1,57 @@ +/** + * \file + */ + #ifndef __MONO_DEBUGGER_AGENT_H__ #define __MONO_DEBUGGER_AGENT_H__ #include "mini.h" -/* IL offsets used to mark the sequence points belonging to method entry/exit events */ -#define METHOD_ENTRY_IL_OFFSET -1 -#define METHOD_EXIT_IL_OFFSET 0xffffff - -/* Native offset used to mark seq points in dead code */ -#define SEQ_POINT_NATIVE_OFFSET_DEAD_CODE -1 - -void -mono_debugger_agent_parse_options (char *options) MONO_INTERNAL; +MONO_API void +mono_debugger_agent_parse_options (char *options); void -mono_debugger_agent_init (void) MONO_INTERNAL; +mono_debugger_agent_init (void); void -mono_debugger_agent_breakpoint_hit (void *sigctx) MONO_INTERNAL; +mono_debugger_agent_breakpoint_hit (void *sigctx); void -mono_debugger_agent_single_step_event (void *sigctx) MONO_INTERNAL; +mono_debugger_agent_single_step_event (void *sigctx); void -debugger_agent_single_step_from_context (MonoContext *ctx) MONO_INTERNAL; +debugger_agent_single_step_from_context (MonoContext *ctx); void -debugger_agent_breakpoint_from_context (MonoContext *ctx) MONO_INTERNAL; +debugger_agent_breakpoint_from_context (MonoContext *ctx); void -mono_debugger_agent_free_domain_info (MonoDomain *domain) MONO_INTERNAL; - -gboolean mono_debugger_agent_thread_interrupt (void *sigctx, MonoJitInfo *ji) MONO_INTERNAL; +mono_debugger_agent_free_domain_info (MonoDomain *domain); -#if defined(PLATFORM_ANDROID) || defined(TARGET_ANDROID) +#if defined(HOST_ANDROID) || defined(TARGET_ANDROID) void mono_debugger_agent_unhandled_exception (MonoException *exc); #endif void -mono_debugger_agent_handle_exception (MonoException *ext, MonoContext *throw_ctx, MonoContext *catch_ctx) MONO_INTERNAL; +mono_debugger_agent_handle_exception (MonoException *ext, MonoContext *throw_ctx, MonoContext *catch_ctx); void -mono_debugger_agent_begin_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx) MONO_INTERNAL; +mono_debugger_agent_begin_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx); void -mono_debugger_agent_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx) MONO_INTERNAL; +mono_debugger_agent_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx); void -mono_debugger_agent_user_break (void) MONO_INTERNAL; +mono_debugger_agent_user_break (void); void -mono_debugger_agent_debug_log (int level, MonoString *category, MonoString *message) MONO_INTERNAL; +mono_debugger_agent_debug_log (int level, MonoString *category, MonoString *message); gboolean -mono_debugger_agent_debug_log_is_enabled (void) MONO_INTERNAL; +mono_debugger_agent_debug_log_is_enabled (void); -gboolean -mono_debugger_agent_transport_handshake (void) MONO_INTERNAL; +MONO_API gboolean +mono_debugger_agent_transport_handshake (void); #endif