X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fdebug-mono-symfile.h;h=36805ea3b6ff938193df8d4936332e7f266587e8;hb=f6c4420d096e238f1e861edbe7483b2ee9167709;hp=e36753b1a67c159b516eafdacddab4cfa5088147;hpb=e424c5b0de550be2b9864458c1c5bea103b909ac;p=mono.git diff --git a/mono/metadata/debug-mono-symfile.h b/mono/metadata/debug-mono-symfile.h index e36753b1a67..36805ea3b6f 100644 --- a/mono/metadata/debug-mono-symfile.h +++ b/mono/metadata/debug-mono-symfile.h @@ -1,11 +1,13 @@ /* * This header is only installed for use by the debugger: * the structures and the API declared here are not supported. + * Copyright 2012 Xamarin Inc (http://www.xamarin.com) */ #ifndef __MONO_DEBUG_MONO_SYMFILE_H__ #define __MONO_DEBUG_MONO_SYMFILE_H__ +#include #include #include #include @@ -105,6 +107,15 @@ struct _MonoDebugLineNumberEntry { uint32_t native_offset; }; +/* + * Information about a source file retrieved from a symbol file. + */ +typedef struct { + char *source_file; + /* 16 byte long */ + guint8 *guid, *hash; +} MonoDebugSourceInfo; + #define MONO_SYMBOL_FILE_MAJOR_VERSION 50 #define MONO_SYMBOL_FILE_MINOR_VERSION 0 #define MONO_SYMBOL_FILE_MAGIC 0x45e82623fd7fa614ULL @@ -147,6 +158,9 @@ mono_debug_symfile_free_locals (MonoDebugLocalsInfo *info); void mono_debug_symfile_get_line_numbers (MonoDebugMethodInfo *minfo, char **source_file, int *n_il_offsets, int **il_offsets, int **line_numbers); +void +mono_debug_symfile_get_line_numbers_full (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int *n_il_offsets, int **il_offsets, int **line_numbers, int **column_numbers, int **source_files); + MONO_END_DECLS #endif /* __MONO_SYMFILE_H__ */