[Mono-bugs] [Bug 75494][Nor] New - NativeLanguage lacks
implementations for ILanguage's CanCreateInstance and
CreateInstance.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jul 6 17:30:20 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by toshok at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75494
--- shadow/75494 2005-07-06 17:30:20.000000000 -0400
+++ shadow/75494.tmp.28695 2005-07-06 17:30:20.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 75494
+Product: Mono: Debugger
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: backend
+AssignedTo: toshok at ximian.com
+ReportedBy: toshok at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: NativeLanguage lacks implementations for ILanguage's CanCreateInstance and CreateInstance.
+
+CreateInstance is the tough one - it's implemented in mono using Heap
+(which rather hackishly uses a preallocated buffer to allocate objects.)
+There's no such preallocated buffer in the native case, so we'll need to
+either allocate the objects (ewwww), or find a different way to handle the
+cases where we need this.
+
+The two cases that I can think of (setting variables to constants, and
+calling methods with constants as args) can both be handled in different
+ways. setting variables can be handled by just writing the new bit
+pattern. and calling methods can be done by pushing a fake stack frame in
+the debuggee and allocating space for the objects there.
More information about the mono-bugs
mailing list