X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fdebug-mono-symfile.h;h=3b3459f32587e13e2589a4d0d1f3d7dbe12aa99a;hb=7cbd69d8eac788d65e0a095fb558231bfba08204;hp=6d9a3c20d34b988dc34f4dd17dde9cd6d78e038c;hpb=811674bc6331c98d33134e2a37a7c7dd66402227;p=mono.git diff --git a/mono/metadata/debug-mono-symfile.h b/mono/metadata/debug-mono-symfile.h index 6d9a3c20d34..3b3459f3258 100644 --- a/mono/metadata/debug-mono-symfile.h +++ b/mono/metadata/debug-mono-symfile.h @@ -2,6 +2,7 @@ * 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) + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #ifndef __MONO_DEBUG_MONO_SYMFILE_H__ @@ -116,6 +117,12 @@ typedef struct { guint8 *guid, *hash; } MonoDebugSourceInfo; +typedef struct { + int il_offset; + int line, column; + int end_line, end_column; +} MonoSymSeqPoint; + #define MONO_SYMBOL_FILE_MAJOR_VERSION 50 #define MONO_SYMBOL_FILE_MINOR_VERSION 0 #define MONO_SYMBOL_FILE_MAGIC 0x45e82623fd7fa614ULL @@ -141,10 +148,6 @@ mono_debug_symfile_lookup_location (MonoDebugMethodInfo *minfo, MONO_API void mono_debug_symfile_free_location (MonoDebugSourceLocation *location); -int32_t -_mono_debug_address_from_il_offset (MonoDebugMethodJitInfo *jit, - uint32_t il_offset); - MONO_API MonoDebugMethodInfo * mono_debug_symfile_lookup_method (MonoDebugHandle *handle, MonoMethod *method); @@ -152,14 +155,8 @@ mono_debug_symfile_lookup_method (MonoDebugHandle *handle, MONO_API MonoDebugLocalsInfo* mono_debug_symfile_lookup_locals (MonoDebugMethodInfo *minfo); -MONO_API void -mono_debug_symfile_free_locals (MonoDebugLocalsInfo *info); - -MONO_API void -mono_debug_symfile_get_line_numbers (MonoDebugMethodInfo *minfo, char **source_file, int *n_il_offsets, int **il_offsets, int **line_numbers); - -MONO_API 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, int **end_line_numbers, int **end_column_numbers); +void +mono_debug_symfile_get_seq_points (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int **source_files, MonoSymSeqPoint **seq_points, int *n_seq_points); gboolean mono_debug_image_has_debug_info (MonoImage *image);