- 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 -
This commit is contained in:
nickysn 2015-03-07 14:26:10 +00:00
parent a32b335832
commit e52238df42

View File

@ -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;