Gary M. Smithrud Haley Systems, Inc. Phone: 724-934-7853 [EMAIL PROTECTED] www.haley.com Moving at the Speed of Change The issue with mono_debugger_add_type is with the following lines (from memory, since I am on a different machine):
write_leb(...); write_leb(...); write_leb(...); * ((gpointer*) ptr) = klass; Write_leb can move the pointer to an offset that is not on a pointer boundary and the SPARC architecture does not allow a pointer to be written on an odd boundary (or word boundaries that are not also long boundaries, ie pointer % 4 != 0...actually, it probably even pointer % 8 != 0 for 64-bit). I've change the code to behave as though they were two guint8* (which is convenient, since one is defined that way) and loop through the data. I do not know what the data is used for, I am unsure that that is appropriate. _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
