mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 23:25:56 +02:00
Debugger, GDBMI: preserve/restore (workaround). gdb error msg, when using ptype from cache.
git-svn-id: trunk@57380 -
This commit is contained in:
parent
16a97ce6a6
commit
beefb8ac70
@ -330,7 +330,7 @@ type
|
||||
FState : TGDBMIDebuggerCommandState;
|
||||
FSeenStates: TGDBMIDebuggerCommandStates;
|
||||
FLastExecCommand: String;
|
||||
FLastExecResult: TGDBMIExecResult;
|
||||
FLastExecResult: TGDBMIExecResult; // deprecated;
|
||||
FLogWarnings, FFullCmdReply: String;
|
||||
FGotStopped: Boolean; // used in ProcessRunning
|
||||
function GetDebuggerProperties: TGDBMIDebuggerPropertiesBase;
|
||||
@ -10986,6 +10986,9 @@ begin
|
||||
CReq := FTheDebugger.FTypeRequestCache.Request[i];
|
||||
AReq^.Result := CReq.Result;
|
||||
AReq^.Error := CReq.Error;
|
||||
//TODO: get rid of FLastExecResult
|
||||
FLastExecResult.State := dsError;
|
||||
FLastExecResult.Values := CReq.Result.GdbDescription;
|
||||
end
|
||||
else begin
|
||||
f := ExecuteCommand(AReq^.Request, R);
|
||||
|
Loading…
Reference in New Issue
Block a user