mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 05:39:24 +02:00
dbg(gdbserver): reset gdb after use
git-svn-id: trunk@42408 -
This commit is contained in:
parent
df725a2c85
commit
c9b03b1624
@ -2864,6 +2864,7 @@ type
|
|||||||
function GetLocation: TDBGLocationRec; virtual;
|
function GetLocation: TDBGLocationRec; virtual;
|
||||||
procedure LockCommandProcessing; virtual;
|
procedure LockCommandProcessing; virtual;
|
||||||
procedure UnLockCommandProcessing; virtual;
|
procedure UnLockCommandProcessing; virtual;
|
||||||
|
function NeedReset: Boolean; virtual;
|
||||||
procedure AddNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
procedure AddNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
||||||
procedure RemoveNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
procedure RemoveNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
||||||
public
|
public
|
||||||
@ -6310,6 +6311,11 @@ begin
|
|||||||
// nothing
|
// nothing
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TDebugger.NeedReset: Boolean;
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TDebugger.AddNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
procedure TDebugger.AddNotifyEvent(AReason: TDebuggerNotifyReason; AnEvent: TNotifyEvent);
|
||||||
begin
|
begin
|
||||||
FDestroyNotificationList[AReason].Add(TMethod(AnEvent));
|
FDestroyNotificationList[AReason].Add(TMethod(AnEvent));
|
||||||
|
@ -44,6 +44,7 @@ type
|
|||||||
function CreateCommandInit: TGDBMIDebuggerCommandInitDebugger; override;
|
function CreateCommandInit: TGDBMIDebuggerCommandInitDebugger; override;
|
||||||
function CreateCommandStartDebugging(AContinueCommand: TGDBMIDebuggerCommand): TGDBMIDebuggerCommandStartDebugging; override;
|
function CreateCommandStartDebugging(AContinueCommand: TGDBMIDebuggerCommand): TGDBMIDebuggerCommandStartDebugging; override;
|
||||||
procedure InterruptTarget; override;
|
procedure InterruptTarget; override;
|
||||||
|
function NeedReset: Boolean; override;
|
||||||
public
|
public
|
||||||
class function CreateProperties: TDebuggerProperties; override; // Creates debuggerproperties
|
class function CreateProperties: TDebuggerProperties; override; // Creates debuggerproperties
|
||||||
class function Caption: String; override;
|
class function Caption: String; override;
|
||||||
@ -175,6 +176,11 @@ begin
|
|||||||
inherited InterruptTarget;
|
inherited InterruptTarget;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TGDBMIServerDebugger.NeedReset: Boolean;
|
||||||
|
begin
|
||||||
|
Result := True;
|
||||||
|
end;
|
||||||
|
|
||||||
class function TGDBMIServerDebugger.CreateProperties: TDebuggerProperties;
|
class function TGDBMIServerDebugger.CreateProperties: TDebuggerProperties;
|
||||||
begin
|
begin
|
||||||
Result := TGDBMIServerDebuggerProperties.Create;
|
Result := TGDBMIServerDebuggerProperties.Create;
|
||||||
|
Loading…
Reference in New Issue
Block a user