Author: martin
Date: 2006-05-30 11:43:16 -0400 (Tue, 30 May 2006)
New Revision: 61262
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/debug-helpers.c
trunk/mono/mono/metadata/mono-debug.c
Log:
2006-05-30 Martin Baulig <[EMAIL PROTECTED]>
* mono-debug.c (mono_debug_print_stack_frame): Reverted the
mono_method_full_name() change and replace the ':' with a '.'
here.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2006-05-30 14:44:49 UTC (rev 61261)
+++ trunk/mono/mono/metadata/ChangeLog 2006-05-30 15:43:16 UTC (rev 61262)
@@ -1,5 +1,11 @@
2006-05-30 Martin Baulig <[EMAIL PROTECTED]>
+ * mono-debug.c (mono_debug_print_stack_frame): Reverted the
+ mono_method_full_name() change and replace the ':' with a '.'
+ here.
+
+2006-05-30 Martin Baulig <[EMAIL PROTECTED]>
+
* debug-mono-symfile.c
(mono_debug_symfile_lookup_location): Fix the algorithm:
when looking up B which is between A and C, return A not C.
@@ -31,9 +37,6 @@
(mono_debug_find_method): Renamed into
mono_debug_symfile_lookup_method().
- * debug-helpers.c (mono_method_full_name): Use `.' instead of `:'
- to separate the class name from the method name.
-
2006-05-27 Zoltan Varga <[EMAIL PROTECTED]>
* assembly.c (mono_assembly_open_full): Dont overwrite the status
Modified: trunk/mono/mono/metadata/debug-helpers.c
===================================================================
--- trunk/mono/mono/metadata/debug-helpers.c 2006-05-30 14:44:49 UTC (rev
61261)
+++ trunk/mono/mono/metadata/debug-helpers.c 2006-05-30 15:43:16 UTC (rev
61262)
@@ -524,13 +524,13 @@
sprintf (wrapper, "(wrapper %s) ", wrapper_type_to_str
(method->wrapper_type));
else
strcpy (wrapper, "");
- res = g_strdup_printf ("%s%s%s%s.%s (%s)", wrapper,
+ res = g_strdup_printf ("%s%s%s%s:%s (%s)", wrapper,
nspace, *nspace ?
"." : "",
method->klass->name,
method->name, tmpsig);
g_free (tmpsig);
} else {
- res = g_strdup_printf ("%02d %s%s%s.%s", method->wrapper_type,
+ res = g_strdup_printf ("%02d %s%s%s:%s", method->wrapper_type,
nspace, *nspace ?
"." : "",
method->klass->name,
method->name);
}
Modified: trunk/mono/mono/metadata/mono-debug.c
===================================================================
--- trunk/mono/mono/metadata/mono-debug.c 2006-05-30 14:44:49 UTC (rev
61261)
+++ trunk/mono/mono/metadata/mono-debug.c 2006-05-30 15:43:16 UTC (rev
61262)
@@ -904,9 +904,13 @@
mono_debug_print_stack_frame (MonoMethod *method, guint32 native_offset,
MonoDomain *domain)
{
MonoDebugSourceLocation *location;
- gchar *fname, *res;
+ gchar *fname, *ptr, *res;
fname = mono_method_full_name (method, TRUE);
+ for (ptr = fname; *ptr; ptr++) {
+ if (*ptr == ':') *ptr = '.';
+ }
+
location = mono_debug_lookup_source_location (method, native_offset,
domain);
if (!location) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches