[Mono-devel-list] Issue with mono_debugger_add_type on Solaris SPARC.
vargaz at gmail.com
Sun Aug 7 11:15:05 EDT 2005
This particular issue is already fixed in SVN, however some other alignment
issues remain, so --debug is currently unusable on SPARC.
On 8/5/05, Gary M. Smithrud <gary.smithrud at haley.com> wrote:
> Gary M. Smithrud
> Haley Systems, Inc.
> Phone: 724-934-7853
> gary.smithrud at 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):
> * ((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
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list