Author: toshok
Date: 2005-04-19 16:49:14 -0400 (Tue, 19 Apr 2005)
New Revision: 43292
Modified:
trunk/debugger/ChangeLog
trunk/debugger/frontend/CL.cs
Log:
2005-04-19 Chris Toshok <[EMAIL PROTECTED]>
* frontend/CL.cs (LineParser.GetCommand): change the way commands
are parsed so that "_" on the line is assumed to be a command
(which doesn't exist, of course). Fixes bug #73244.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2005-04-19 20:48:31 UTC (rev 43291)
+++ trunk/debugger/ChangeLog 2005-04-19 20:49:14 UTC (rev 43292)
@@ -1,3 +1,9 @@
+2005-04-19 Chris Toshok <[EMAIL PROTECTED]>
+
+ * frontend/CL.cs (LineParser.GetCommand): change the way commands
+ are parsed so that "_" on the line is assumed to be a command
+ (which doesn't exist, of course). Fixes bug #73244.
+
2005-04-18 Chris Toshok <[EMAIL PROTECTED]>
* configure.in: fix BFD_TARGET_X86_64 AM_CONDITIONAL. Thanks to
Modified: trunk/debugger/frontend/CL.cs
===================================================================
--- trunk/debugger/frontend/CL.cs 2005-04-19 20:48:31 UTC (rev 43291)
+++ trunk/debugger/frontend/CL.cs 2005-04-19 20:49:14 UTC (rev 43292)
@@ -217,11 +217,11 @@
if (p >= top)
return false;
- if (Char.IsLetter (sb [p])){
- int start = p++;
- while (p < top && Char.IsLetterOrDigit (sb
[p])){
- p++;
- }
+ int start = p++;
+ while (p < top && !Char.IsWhiteSpace (sb [p])) {
+ p++;
+ }
+ if (p-start > 0) {
command = sb.ToString (start, p-start);
return true;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches