#ifndef __MONO_DEBUG_H__
#define __MONO_DEBUG_H__
-#include <glib.h> /* GHashTable dep below */
#include <mono/utils/mono-publib.h>
#include <mono/metadata/image.h>
#include <mono/metadata/appdomain.h>
+MONO_BEGIN_DECLS
+
typedef struct _MonoSymbolTable MonoSymbolTable;
typedef struct _MonoDebugDataTable MonoDebugDataTable;
typedef struct _MonoDebugClassEntry MonoDebugClassEntry;
typedef struct _MonoDebugMethodInfo MonoDebugMethodInfo;
+typedef struct _MonoDebugLocalsInfo MonoDebugLocalsInfo;
typedef struct _MonoDebugSourceLocation MonoDebugSourceLocation;
typedef struct _MonoDebugList MonoDebugList;
};
struct _MonoSymbolTable {
- guint64 magic;
+ uint64_t magic;
uint32_t version;
uint32_t total_size;
};
#define MONO_DEBUGGER_MAJOR_VERSION 81
-#define MONO_DEBUGGER_MINOR_VERSION 5
+#define MONO_DEBUGGER_MINOR_VERSION 6
#define MONO_DEBUGGER_MAGIC 0x7aff65af4253d427ULL
extern MonoSymbolTable *mono_symbol_table;
extern MonoDebugFormat mono_debug_format;
-extern GHashTable *mono_debug_handles;
extern int32_t mono_debug_debugger_version;
extern int32_t _mono_debug_using_mono_debugger;
void
mono_debug_add_delegate_trampoline (void* code, int size);
-int
-mono_debug_lookup_locals (MonoMethod *method, char ***names, int **indexes);
+MonoDebugLocalsInfo*
+mono_debug_lookup_locals (MonoMethod *method);
/*
* Line number support.
void mono_set_is_debugger_attached (mono_bool attached);
mono_bool mono_is_debugger_attached (void);
+MONO_END_DECLS
+
#endif /* __MONO_DEBUG_H__ */