FpDebug (pure): Do not try to set register-values twice

git-svn-id: trunk@45765 -
This commit is contained in:
joost 2014-07-03 19:37:41 +00:00
parent eb6869d6c3
commit e48fb34a9a

View File

@ -158,6 +158,7 @@ begin
log('Failed to read thread registers from processid '+inttostr(Process.ProcessID)+'. Errcode: '+inttostr(e));
result := false;
end;
FUserRegsChanged:=false;
FRegisterValueListValid:=false;
end;
@ -184,6 +185,7 @@ begin
begin
log('Failed to set thread registers. Errcode: '+inttostr(e));
end;
FUserRegsChanged:=false;
end;
end;
@ -237,7 +239,6 @@ begin
FRegisterValueList.DbgRegisterAutoCreate['gs'].SetValue(gs, IntToStr(gs),8,47);
end;
FRegisterValueListValid:=true;
FUserRegsChanged:=false;
end;
{ TDbgLinuxProcess }