+2002-12-28 Martin Baulig <martin@ximian.com>
+
+ * debug.c (MonoDebuggerInfo): Added `symbol_file_modified'; it's
+ incremented each time one of the symbol tables is modified.
Thu Dec 19 18:31:54 CET 2002 Paolo Molaro <lupus@ximian.com>
* copy of the symbol table, it must call debugger_update_symbol_file_table().
*/
static guint32 debugger_symbol_file_table_generation = 0;
+static guint32 debugger_symbol_file_table_modified = 0;
/* Caution: This variable may be accessed at any time from the debugger;
* it is very important not to modify the memory it is pointing to
&mono_generic_trampoline_code,
&mono_breakpoint_trampoline_code,
&debugger_symbol_file_table_generation,
+ &debugger_symbol_file_table_modified,
&debugger_symbol_file_table,
&debugger_update_symbol_file_table,
&mono_compile_method,
if (mono_debug_handle->format != MONO_DEBUG_FORMAT_MONO)
return;
- if (info->symfile)
+ if (info->symfile) {
mono_debug_symfile_add_type (info->symfile, klass);
+ debugger_symbol_file_table_modified++;
+ }
}
static gint32
jit->locals = locals;
}
- if (info->symfile)
+ if (info->symfile) {
mono_debug_symfile_add_method (info->symfile, method);
+ debugger_symbol_file_table_modified++;
+ }
}
gchar *
guint8 **generic_trampoline_code;
guint8 **breakpoint_trampoline_code;
guint32 *symbol_file_generation;
+ guint32 *symbol_file_modified;
MonoDebuggerSymbolFileTable **symbol_file_table;
int (*update_symbol_file_table) (void);
gpointer (*compile_method) (MonoMethod *method);