Author: toshok
Date: 2005-04-04 19:46:51 -0400 (Mon, 04 Apr 2005)
New Revision: 42544
Modified:
trunk/debugger/ChangeLog
trunk/debugger/backends/mono/MonoFundamentalType.cs
Log:
2005-04-04 Chris Toshok <[EMAIL PROTECTED]>
* backends/mono/MonoFundamentalType.cs: use the protected
"type_info" field instead of CreateTypeInfo, since the latter
gives us hashtable assertions about duplicate key insertion. This
fixes passing fundamental objects (ints, floats, shorts, etc) to
methods using the "call" command.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2005-04-04 23:01:46 UTC (rev 42543)
+++ trunk/debugger/ChangeLog 2005-04-04 23:46:51 UTC (rev 42544)
@@ -1,3 +1,11 @@
+2005-04-04 Chris Toshok <[EMAIL PROTECTED]>
+
+ * backends/mono/MonoFundamentalType.cs: use the protected
+ "type_info" field instead of CreateTypeInfo, since the latter
+ gives us hashtable assertions about duplicate key insertion. This
+ fixes passing fundamental objects (ints, floats, shorts, etc) to
+ methods using the "call" command.
+
2005-04-02 Chris Toshok <[EMAIL PROTECTED]>
* backends/mono/MonoLanguageBackend.cs
Modified: trunk/debugger/backends/mono/MonoFundamentalType.cs
===================================================================
--- trunk/debugger/backends/mono/MonoFundamentalType.cs 2005-04-04 23:01:46 UTC
(rev 42543)
+++ trunk/debugger/backends/mono/MonoFundamentalType.cs 2005-04-04 23:46:51 UTC
(rev 42544)
@@ -123,7 +123,7 @@
TargetLocation location = Heap.Allocate (frame, size);
frame.TargetAccess.WriteBuffer (location.Address,
CreateObject (obj));
- return new MonoFundamentalObject
((MonoFundamentalTypeInfo)CreateTypeInfo(), location);
+ return new MonoFundamentalObject
((MonoFundamentalTypeInfo)type_info, location);
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches