projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment style; Wrap at 100
[mono.git]
/
mono
/
metadata
/
debug-helpers.c
diff --git
a/mono/metadata/debug-helpers.c
b/mono/metadata/debug-helpers.c
index 1cf21e31b702c20ca165a913ad217e7c8ce2a745..f38a054125710fab5281f9e0facb68b7aa1e5e4f 100644
(file)
--- a/
mono/metadata/debug-helpers.c
+++ b/
mono/metadata/debug-helpers.c
@@
-1,5
+1,5
@@
/*
/*
- *
console-io.c: ConsoleDriver internal calls
+ *
debug-helpers.c:
*
* Author:
* Mono Project (http://www.mono-project.com)
*
* Author:
* Mono Project (http://www.mono-project.com)
@@
-326,10
+326,10
@@
mono_method_desc_new (const char *name, gboolean include_namespace)
g_free (class_nspace);
return NULL;
}
g_free (class_nspace);
return NULL;
}
- *method_name++ = 0;
/* allow two :: to separate the method name */
/* allow two :: to separate the method name */
- if (*method_name == ':')
- method_name++;
+ if (method_name != class_nspace && method_name [-1] == ':')
+ method_name [-1] = 0;
+ *method_name++ = 0;
class_name = strrchr (class_nspace, '.');
if (class_name) {
*class_name++ = 0;
class_name = strrchr (class_nspace, '.');
if (class_name) {
*class_name++ = 0;
@@
-1003,7
+1003,7
@@
mono_class_describe_statics (MonoClass* klass)
if (!vtable)
return;
if (!vtable)
return;
- if (!(addr =
vtable->data
))
+ if (!(addr =
mono_vtable_get_static_field_data (vtable)
))
return;
for (p = klass; p != NULL; p = p->parent) {
return;
for (p = klass; p != NULL; p = p->parent) {
@@
-1020,4
+1020,3
@@
mono_class_describe_statics (MonoClass* klass)
}
}
}
}
}
}
-