2007-10-19 Marek Habersack <mhabersack@novell.com>
[mono.git] / mono / mini / debug-mini.h
1 #ifndef __DEBUG_MINI_H__
2 #define __DEBUG_MINI_H__
3
4 #include <mono/metadata/class-internals.h>
5 #include <mono/metadata/mono-debug-debugger.h>
6
7 #include "mini.h"
8
9 MonoDebugMethodAddressList *
10 mono_debugger_insert_method_breakpoint (MonoMethod *method, guint64 idx);
11
12 int
13 mono_debugger_remove_method_breakpoint (guint64 index);
14
15 typedef struct _MonoDebuggerThreadInfo MonoDebuggerThreadInfo;
16 extern MonoDebuggerThreadInfo *mono_debugger_thread_table;
17
18 void
19 mono_debugger_thread_created (gsize tid, MonoJitTlsData *jit_tls);
20
21 void
22 mono_debugger_thread_cleanup (MonoJitTlsData *jit_tls);
23
24 /*
25  * This is the old breakpoint interface.
26  * It isn't used by the debugger anymore, but still when using the `--break' command
27  * line argument.
28  */
29
30 int             mono_debugger_insert_breakpoint_full      (MonoMethodDesc *desc);
31 int             mono_debugger_remove_breakpoint           (int breakpoint_id);
32 void            mono_debugger_breakpoint_callback         (MonoMethod *method, guint32 idx);
33
34 #endif