Bug 318471 (MONO75494) - NativeLanguage lacks implementations for ILanguage's CanCreateInstance and CreateInstance.
Summary: NativeLanguage lacks implementations for ILanguage's CanCreateInstance and Cr...
Status: RESOLVED INVALID
Alias: MONO75494
Product: Mono: Debugger
Classification: Mono
Component: backend (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 00:30 UTC by Chris Toshok
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:24:32 UTC


---- Reported by toshok@ximian.com 2005-07-06 17:30:20 MST ----

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.



---- Additional Comments From miguel@ximian.com 2005-09-05 13:52:41 MST ----

reassigning to new debugger owner.



---- Additional Comments From martin@ximian.com 2006-04-18 13:03:13 MST ----

Old.

This bug blocked bug(s) 74823.

Unknown operating system unknown. Setting to default OS "Other".