+2004-06-18 Martin Baulig <martin@ximian.com>
+
+ * mono-debug-debugger.c (write_class): Write the parent class at
+ the end of the header.
Thu Jun 17 16:50:44 CEST 2004 Paolo Molaro <lupus@ximian.com>
WRITE_UINT32 (ptr, num_static_methods * (4 + 2 * sizeof (gpointer)) + num_static_params * sizeof (gpointer));
WRITE_UINT32 (ptr, num_ctors);
WRITE_UINT32 (ptr, num_ctors * (4 + 2 * sizeof (gpointer)) + num_ctor_params * sizeof (gpointer));
+ if (klass->parent && (klass->parent != mono_defaults.object_class))
+ WRITE_UINT32 (ptr, write_class (table, klass->parent));
+ else
+ WRITE_UINT32 (ptr, 0);
for (i = 0; i < klass->field.count; i++) {
if (klass->fields [i].type->attrs & FIELD_ATTRIBUTE_STATIC)
g_ptr_array_free (ctors, FALSE);
- if (klass->parent && (klass->parent != mono_defaults.object_class))
- WRITE_UINT32 (ptr, write_class (table, klass->parent));
- else
- WRITE_UINT32 (ptr, 0);
-
if (ptr - old_ptr != data_size) {
g_warning (G_STRLOC ": %d,%d,%d", ptr - old_ptr, data_size, sizeof (gpointer));
if (klass)
guint32 end_scope;
};
-#define MONO_DEBUGGER_VERSION 41
+#define MONO_DEBUGGER_VERSION 42
#define MONO_DEBUGGER_MAGIC 0x7aff65af4253d427ULL
extern MonoDebugFormat mono_debug_format;