Author: toshok
Date: 2005-06-25 16:07:34 -0400 (Sat, 25 Jun 2005)
New Revision: 46506
Modified:
trunk/debugger/ChangeLog
trunk/debugger/frontend/Expression.cs
trunk/debugger/frontend/Style.cs
Log:
2005-06-25 Chris Toshok <[EMAIL PROTECTED]>
* frontend/Expression.cs (SimpleNameExpression.DoResolve): use a
gdb message here since it's a little clearer (and doesn't contain
a typo, to boot).
* frontend/Style.cs (StyleNative.DoFormatObject): clean up the
array formatting a bit so it doesn't look so jammed together.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2005-06-25 19:57:39 UTC (rev 46505)
+++ trunk/debugger/ChangeLog 2005-06-25 20:07:34 UTC (rev 46506)
@@ -1,3 +1,12 @@
+2005-06-25 Chris Toshok <[EMAIL PROTECTED]>
+
+ * frontend/Expression.cs (SimpleNameExpression.DoResolve): use a
+ gdb message here since it's a little clearer (and doesn't contain
+ a typo, to boot).
+
+ * frontend/Style.cs (StyleNative.DoFormatObject): clean up the
+ array formatting a bit so it doesn't look so jammed together.
+
2005-06-22 Chris Toshok <[EMAIL PROTECTED]>
* backends/native/Makefile.am (EXTRA_DIST): add NativeArrayType.cs
Modified: trunk/debugger/frontend/Expression.cs
===================================================================
--- trunk/debugger/frontend/Expression.cs 2005-06-25 19:57:39 UTC (rev
46505)
+++ trunk/debugger/frontend/Expression.cs 2005-06-25 20:07:34 UTC (rev
46506)
@@ -636,7 +636,7 @@
if (expr != null)
return expr;
- throw new ScriptingException ("No such type of method:
`{0}'", Name);
+ throw new ScriptingException ("No symbol `{0}' in
current context.", Name);
}
protected override Expression DoResolveType (ScriptingContext
context)
Modified: trunk/debugger/frontend/Style.cs
===================================================================
--- trunk/debugger/frontend/Style.cs 2005-06-25 19:57:39 UTC (rev 46505)
+++ trunk/debugger/frontend/Style.cs 2005-06-25 20:07:34 UTC (rev 46506)
@@ -467,15 +467,15 @@
switch (obj.TypeInfo.Type.Kind) {
case TargetObjectKind.Array: {
ITargetArrayObject aobj = (ITargetArrayObject)
obj;
- StringBuilder sb = new StringBuilder ("[");
+ StringBuilder sb = new StringBuilder ("[ ");
int lower = aobj.LowerBound;
int upper = aobj.UpperBound;
for (int i = lower; i < upper; i++) {
if (i > lower)
- sb.Append (",");
+ sb.Append (", ");
sb.Append (FormatObject (aobj [i],
false));
}
- sb.Append ("]");
+ sb.Append (" ]");
return sb.ToString ();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches