mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 16:26:11 +02:00
The register's cahnge flag should be reset only when switching between frames of the same thread.
This commit is contained in:
parent
64907fba2e
commit
0a42098b56
2 changed files with 4 additions and 1 deletions
|
@ -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
|
2002-10-14 Mikhail Khodjaiants
|
||||||
* CThread.java: Reset the register's change flag before switching to another frame.
|
* CThread.java: Reset the register's change flag before switching to another frame.
|
||||||
|
|
||||||
|
|
|
@ -975,11 +975,11 @@ public class CThread extends CDebugElement
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
((CDebugTarget)getDebugTarget()).resetRegisters();
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( getLastStackFrame() != null )
|
if ( getLastStackFrame() != null )
|
||||||
{
|
{
|
||||||
|
((CDebugTarget)getDebugTarget()).resetRegisters();
|
||||||
getCDIThread().setCurrentStackFrame( ((CStackFrame)frame).getCDIStackFrame() );
|
getCDIThread().setCurrentStackFrame( ((CStackFrame)frame).getCDIStackFrame() );
|
||||||
}
|
}
|
||||||
setLastStackFrame( (CStackFrame)frame );
|
setLastStackFrame( (CStackFrame)frame );
|
||||||
|
|
Loading…
Add table
Reference in a new issue