1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

use the destroyExpression()

This commit is contained in:
Alain Magloire 2003-01-27 03:38:14 +00:00
parent 452f725509
commit 7c94724c7f
2 changed files with 2 additions and 2 deletions

View file

@ -1807,7 +1807,7 @@ public class CDebugTarget extends CDebugElement
ICDIExpressionManager em = getCDISession().getExpressionManager();
try
{
em.removeExpression( ((CExpression)expression).getCDIExpression() );
em.destroyExpression( ((CExpression)expression).getCDIExpression() );
}
catch( CDIException e )
{

View file

@ -371,7 +371,7 @@ public class CFormattedMemoryBlock extends CDebugElement
{
try
{
((CDebugTarget)getDebugTarget()).getCDISession().getExpressionManager().removeExpression( fAddressExpression );
((CDebugTarget)getDebugTarget()).getCDISession().getExpressionManager().destroyExpression( fAddressExpression );
}
catch( CDIException e )
{