Author: gedmurphy
Date: Thu Jun 4 17:38:29 2009
New Revision: 41283
URL:
http://svn.reactos.org/svn/reactos?rev=41283&view=rev
Log:
Display the kdb prompt correctly
Modified:
trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] Thu Jun 4
17:38:29 2009
@@ -26,6 +26,7 @@
PrintDocument printDoc;
DebugConnection mConnection;
List<string> textToAdd = new List<string>();
+ string kdbPrompt = "\r\nkdb:> ";
@@ -54,9 +55,17 @@
lock (textToAdd)
{
foreach (string s in textToAdd)
- toAdd.Append(s);
+ {
+ if (s.EndsWith(kdbPrompt))
+ {
+ toAdd.Append(s.Remove(s.Length - kdbPrompt.Length));
+ }
+ else
+ {
+ toAdd.Append(s);
+ }
+ }
textToAdd.Clear();
- //TODO: skip backspace signs
}
RawTrafficText.AppendText(toAdd.ToString());
}
@@ -93,7 +102,7 @@
{
if (RawTrafficTextBox.Text.Length > 0)
{
- //AddCommandToList(RawTrafficTextBox.Text);
+ RawTrafficText.AppendText(kdbPrompt);
mConnection.Debugger.Write(RawTrafficTextBox.Text);
}
}
Modified: trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Properties…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] Thu Jun 4
17:38:29 2009
@@ -39,5 +39,5 @@
// will be increased as well. MSI installers must not be generated with the same Build
Number
// otherwise they won't upgrade the old installation!
-[assembly: AssemblyVersion("1.0.2.59")]
-[assembly: AssemblyFileVersion("1.0.2.59")]
+[assembly: AssemblyVersion("1.0.2.60")]
+[assembly: AssemblyFileVersion("1.0.2.60")]