Author: zoltan
Date: 2005-03-04 08:02:40 -0500 (Fri, 04 Mar 2005)
New Revision: 41434

Modified:
   trunk/mcs/class/corlib/System/ChangeLog
   trunk/mcs/class/corlib/System/Environment.cs
   trunk/mcs/class/corlib/System/Exception.cs
Log:
2005-03-04  Zoltan Varga  <[EMAIL PROTECTED]>

        * Environment.cs: Bump corlib version.

        * Exception.cs (StackTrace): Return the wrapper info as well.


Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog     2005-03-04 13:02:01 UTC (rev 
41433)
+++ trunk/mcs/class/corlib/System/ChangeLog     2005-03-04 13:02:40 UTC (rev 
41434)
@@ -1,3 +1,9 @@
+2005-03-04  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * Environment.cs: Bump corlib version.
+
+       * Exception.cs (StackTrace): Return the wrapper info as well.
+
 2005-03-02  Kazuki Oikawa  <[EMAIL PROTECTED]>
 
        * NumberFormatter.cs: Some internal classes was converted to structs,

Modified: trunk/mcs/class/corlib/System/Environment.cs
===================================================================
--- trunk/mcs/class/corlib/System/Environment.cs        2005-03-04 13:02:01 UTC 
(rev 41433)
+++ trunk/mcs/class/corlib/System/Environment.cs        2005-03-04 13:02:40 UTC 
(rev 41434)
@@ -53,13 +53,13 @@
                /*
                 * This is the version number of the corlib-runtime interface. 
When
                 * making changes to this interface (by changing the layout
-                * of classes the runtime knows about, changing icall semantics 
etc),
-                * increment this variable. Also increment the
+                * of classes the runtime knows about, changing icall signature 
or
+                * semantics etc), increment this variable. Also increment the
                 * pair of this variable in the runtime in metadata/appdomain.c.
                 * Changes which are already detected at runtime, like the 
addition
                 * of icalls, do not require an increment.
                 */
-               private const int mono_corlib_version = 32;
+               private const int mono_corlib_version = 33;
                
                [MonoTODO]
                public enum SpecialFolder

Modified: trunk/mcs/class/corlib/System/Exception.cs
===================================================================
--- trunk/mcs/class/corlib/System/Exception.cs  2005-03-04 13:02:01 UTC (rev 
41433)
+++ trunk/mcs/class/corlib/System/Exception.cs  2005-03-04 13:02:40 UTC (rev 
41434)
@@ -165,9 +165,13 @@
                                                else
                                                        sb.Append (newline);
 
-                                               if (frame.GetMethod () == null)
-                                                       sb.Append (unknown);
-                                               else {
+                                               if (frame.GetMethod () == null) 
{
+                                                       string internal_name = 
frame.GetInternalMethodName ();
+                                                       if (internal_name != 
null)
+                                                               sb.Append 
(internal_name);
+                                                       else
+                                                               sb.AppendFormat 
("<0x{0:x5}> {1}", frame.GetNativeOffset (), unknown);
+                                               } else {
                                                        if (frame.GetILOffset 
() == -1)
                                                                sb.AppendFormat 
("<0x{0:x5}> ", frame.GetNativeOffset ());
                                                        else

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to