1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-07 00:05:53 +02:00

The register's cahnge flag should be reset only when switching between frames of the same thread.

This commit is contained in:
Mikhail Khodjaiants 2002-10-15 17:06:57 +00:00
parent 64907fba2e
commit 0a42098b56
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2002-10-15 Mikhail Khodjaiants
* CThread.java: The previous fix should be done only when switching between frames of the same thread.
2002-10-14 Mikhail Khodjaiants
* CThread.java: Reset the register's change flag before switching to another frame.

View file

@ -975,11 +975,11 @@ public class CThread extends CDebugElement
{
return;
}
((CDebugTarget)getDebugTarget()).resetRegisters();
try
{
if ( getLastStackFrame() != null )
{
((CDebugTarget)getDebugTarget()).resetRegisters();
getCDIThread().setCurrentStackFrame( ((CStackFrame)frame).getCDIStackFrame() );
}
setLastStackFrame( (CStackFrame)frame );