The attached patch is needed for the debugger to work following the recent changes to SVN
Colin
diff -wuNr --exclude=.svn --exclude=Makefile --exclude=Makefile.fpc --exclude='*.po' lazarus/debugger/cmdlinedebugger.pp /dos/fpc/lazarus.w/debugger/cmdlinedebugger.pp
--- lazarus/debugger/cmdlinedebugger.pp	2008-03-08 10:47:21.000000000 +0000
+++ /dos/fpc/lazarus.w/debugger/cmdlinedebugger.pp	2008-03-08 11:17:45.000000000 +0000
@@ -384,7 +384,7 @@
     // store LineEnding in local variable, so the same statement can be used
     // for windows and *nix (1 or 2 character line ending)
     LE := LineEnding;
-    FDbgProcess.Input.Write(LE, Length(LE));
+    FDbgProcess.Input.Write(LE[1], Length(LineEnding));
   end
   else begin
     DebugLn('[TCmdLineDebugger.SendCmdLn] Unable to send <', ACommand, '>. No process running.');
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to