Bläddra i källkod

- rm code for parsing and extracting the value of the print command result, when
retrieving FrameName, since that's already done in TGDBController.PrintCommand
for the libgdb.a interface (and unnecessary for the gdb/mi interface)

git-svn-id: trunk@30118 -

nickysn 10 år sedan
förälder
incheckning
e52238df42
1 ändrade filer med 1 tillägg och 6 borttagningar
  1. 1 6
      ide/fpdebug.pas

+ 1 - 6
ide/fpdebug.pas

@@ -2869,7 +2869,7 @@ procedure TWatch.rename(s : string);
 
 procedure TWatch.Get_new_value;
 {$ifndef NODEBUG}
-  var i, j, curframe, startframe : longint;
+  var i, curframe, startframe : longint;
       s,s2,orig_s_result : AnsiString;
       loop_higher, found : boolean;
 
@@ -2943,11 +2943,6 @@ procedure TWatch.Get_new_value;
 {$endif FrameNameKnown}
                if not getValue(s2) then
                  loop_higher:=false;
-               j:=pos('=',s2);
-               if j>0 then
-                 s2:=copy(s2,j+1,length(s2));
-               while s2[1] in [' ',TAB] do
-                 delete(s2,1,1);
                if pos(s2,s)>0 then
                  loop_higher :=false;
              until not loop_higher;