Debugger: Support detection of GDB 10.x and higher. Issue #38034.

git-svn-id: trunk@64106 -
This commit is contained in:
juha 2020-11-05 11:47:30 +00:00
parent f677f97727
commit b796837ec3

View File

@ -9817,7 +9817,7 @@ procedure TGDBMIDebuggerBase.Init;
procedure CheckGDBVersion;
begin
if FGDBVersion < '5.3'
if (FGDBVersionMajor < 5) or ((FGDBVersionMajor = 5) and (FGDBVersionMinor < 3))
then begin
DebugLn(DBG_WARNINGS, '[WARNING] Debugger: Running an old (< 5.3) GDB version: ', FGDBVersion);
DebugLn(DBG_WARNINGS, ' Not all functionality will be supported.');