[Mono-devel-list] [patch]New patch for error reporting when loading unmanaged libraries

Denis Gervalle dgl at softec.st
Tue May 18 17:00:54 EDT 2004


Here is a new patch proposal against mono 0.91 for reporting detailled 
informations when loading unmanaged libraries. This patch integrates all 
remarks received from my previous proposal (thx to Paolo Molaro and 
Josuah Tauberer):
    - Only reports details when MONO_DEBUG is set
    - Function signature is unchanged since exc_msg is only freeable 
when MONO_DEBUG is set, and this is only useful on prelink. This is not 
perfect, I know.
    - Message is currently composed using a GString with 
g_string_append(), but an approach with g_printf or similar is also 
possible (no more time to try that)
    - Message now include the name of the tried library before each 
error message
    - EntryPointNotFoundException also report details about what happens 
during library loading.

Sorry, but the diff also contains a few 'warning' fix I have in my own 
tree that is unrelated of course and that may have been fixed in cvs.

Hope that this one is a better try that will reach cvs :)

Denis Gervalle
SOFTEC sa
http://www.softec.st
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loadmodule2.unified.diff.patch
Type: text/x-patch
Size: 6107 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040518/afcd1d18/attachment.bin 


More information about the Mono-devel-list mailing list