[Lazarus] The GDB command: "-gdb-set confirm off" did not return any result
Bo Berglund
bo.berglund at gmail.com
Thu Oct 22 10:47:39 CEST 2015
When I try to run a very small Console Application for testing Indy10
using the green arrow run button I get a pop-up message box saying:
The GDB command: "-gdb-set confirm off" did not return any result
If I build the program instead and go to a terminal window to execute
it, then it works as it should.
Environment:
------------
Platform: Raspberry Pi2 with ARM7 running Raspbian Jessie
FPC 3.1.1 built from sources as root
Lazarus 1.5 SVN 50059 built inside the Pi home as user pi
Test sources in Pi hme as well
TCPIP: Using Indy10 copied over from my PC using a samba share
(so the files for Indy have Windows line endings)
What could cause the GDB problem? Line endings or what?
The active code apart from what Lazarus entered:
{ add your program here }
Writeln('Creating TCP client');
FComm := TIdTCPClient.Create;
try
Writeln('Connecting to www.mydomain.com on port 80');
T1 := GetTickCount;
FComm.Connect('www.mydomain.com', 80);
T2 := GetTickCount;
T2 := T2 - T1;
Writeln('Connection succeeded in ' + IntToStr(T2) + ' ms, now
closing down');
finally
if FComm.Connected then
FComm.Disconnect;
FComm.Free;
end;
BTW, Indy10 seems to work fine so far....
--
Bo Berglund
Developer in Sweden
More information about the Lazarus
mailing list