Merge pull request #3756 from henricm/named-pipe-alertable-on-windows
[mono.git] / mono / metadata / mono-debug.h
index 2106a6f3e5e884456c0bed773f68005118266527..c9350a7023aa2beeb12ea22ff32d4a6501c23c98 100644 (file)
@@ -16,6 +16,7 @@ typedef struct _MonoSymbolTable                       MonoSymbolTable;
 typedef struct _MonoDebugDataTable             MonoDebugDataTable;
 
 typedef struct _MonoSymbolFile                 MonoSymbolFile;
+typedef struct _MonoPPDBFile                   MonoPPDBFile;
 
 typedef struct _MonoDebugHandle                        MonoDebugHandle;
 
@@ -74,6 +75,7 @@ struct _MonoDebugHandle {
        MonoImage *image;
        MonoDebugDataTable *type_table;
        MonoSymbolFile *symfile;
+       MonoPPDBFile *ppdb;
 };
 
 struct _MonoDebugMethodJitInfo {
@@ -84,6 +86,7 @@ struct _MonoDebugMethodJitInfo {
        const mono_byte *wrapper_addr;
        uint32_t num_line_numbers;
        MonoDebugLineNumberEntry *line_numbers;
+       uint32_t has_var_info;
        uint32_t num_params;
        MonoDebugVarInfo *this_var;
        MonoDebugVarInfo *params;
@@ -149,9 +152,6 @@ struct _MonoDebugVarInfo {
 #define MONO_DEBUGGER_MINOR_VERSION                    6
 #define MONO_DEBUGGER_MAGIC                            0x7aff65af4253d427ULL
 
-MONO_API void mono_debug_list_add (MonoDebugList **list, const void* data);
-MONO_API void mono_debug_list_remove (MonoDebugList **list, const void* data);
-
 MONO_API void mono_debug_init (MonoDebugFormat format);
 MONO_API void mono_debug_open_image_from_memory (MonoImage *image, const mono_byte *raw_contents, int size);
 MONO_API void mono_debug_cleanup (void);
@@ -186,6 +186,9 @@ mono_debug_add_delegate_trampoline (void* code, int size);
 MONO_API MonoDebugLocalsInfo*
 mono_debug_lookup_locals (MonoMethod *method);
 
+MonoDebugSourceLocation *
+mono_debug_method_lookup_location (MonoDebugMethodInfo *minfo, int il_offset);
+
 /*
  * Line number support.
  */