mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Use CoreModel.getDefault()
This commit is contained in:
parent
3d861af0c2
commit
0e5d20731a
1 changed files with 2 additions and 2 deletions
|
@ -1992,7 +1992,7 @@ public class CDebugTarget extends CDebugElement
|
|||
*/
|
||||
public boolean isLittleEndian()
|
||||
{
|
||||
if ( getExecFile() != null && CoreModel.isBinary( getExecFile() ) )
|
||||
if ( getExecFile() != null && CoreModel.getDefault().isBinary( getExecFile() ) )
|
||||
{
|
||||
ICFile cFile = CCorePlugin.getDefault().getCoreModel().create( getExecFile() );
|
||||
if ( cFile instanceof IBinary )
|
||||
|
@ -2019,7 +2019,7 @@ public class CDebugTarget extends CDebugElement
|
|||
public IGlobalVariable[] getGlobals()
|
||||
{
|
||||
ArrayList list = new ArrayList();
|
||||
if ( getExecFile() != null && CoreModel.isBinary( getExecFile() ) )
|
||||
if ( getExecFile() != null && CoreModel.getDefault().isBinary( getExecFile() ) )
|
||||
{
|
||||
ICFile cFile = CCorePlugin.getDefault().getCoreModel().create( getExecFile() );
|
||||
if ( cFile instanceof IBinary )
|
||||
|
|
Loading…
Add table
Reference in a new issue