2
0
Эх сурвалжийг харах

- rm code that parses the response when retrieving the value of a watchpoint
variable, since that's now done in PrintCommand for the libgdb.a interface
(and is not necessary for the gdb/mi interface)

git-svn-id: trunk@30162 -

nickysn 10 жил өмнө
parent
commit
aff3fb62ae
1 өөрчлөгдсөн 0 нэмэгдсэн , 4 устгасан
  1. 0 4
      ide/fpdebug.pas

+ 0 - 4
ide/fpdebug.pas

@@ -1477,10 +1477,6 @@ begin
         begin
         begin
            S:=PrintCommand(GetStr(PB^.Name));
            S:=PrintCommand(GetStr(PB^.Name));
            got_error:=false;
            got_error:=false;
-           If Pos('=',S)>0 then
-             S:=Copy(S,Pos('=',S)+1,255);
-           If S[Length(S)]=#10 then
-             Delete(S,Length(S),1);
            if Assigned(PB^.OldValue) then
            if Assigned(PB^.OldValue) then
              DisposeStr(PB^.OldValue);
              DisposeStr(PB^.OldValue);
            PB^.OldValue:=PB^.CurrentValue;
            PB^.OldValue:=PB^.CurrentValue;