mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
2004-11-08 Alain Magloire
Bug in CVariableFactory for globals, the filename of the binary was use instead of the filename of the symbol. * src/org/eclipse/cdt/debug/internal/core/model/CVariableFactory.java
This commit is contained in:
parent
f4f6cc774e
commit
439665d7d0
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-11-08 Alain Magloire
|
||||
Bug in CVariableFactory for globals, the filename of the
|
||||
binary was use instead of the filename of the symbol.
|
||||
* src/org/eclipse/cdt/debug/internal/core/model/CVariableFactory.java
|
||||
|
||||
2004-11-08 Alain Magloire
|
||||
New class ICDIFunctionFinished.
|
||||
It return the return value of the function.
|
||||
|
|
|
@ -12,7 +12,6 @@ package org.eclipse.cdt.debug.internal.core.model;
|
|||
|
||||
import java.text.MessageFormat;
|
||||
|
||||
import org.eclipse.cdt.core.IBinaryParser.IBinaryObject;
|
||||
import org.eclipse.cdt.core.IBinaryParser.ISymbol;
|
||||
import org.eclipse.cdt.core.model.IBinaryModule;
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
|
@ -62,11 +61,7 @@ public class CVariableFactory {
|
|||
}
|
||||
|
||||
public static IGlobalVariableDescriptor createGlobalVariableDescriptor(ISymbol symbol) {
|
||||
IPath path = new Path( "" ); //$NON-NLS-1$
|
||||
IBinaryObject parent = symbol.getBinarObject();
|
||||
path = parent.getPath();
|
||||
return createGlobalVariableDescriptor( symbol.getName(), path );
|
||||
|
||||
return createGlobalVariableDescriptor( symbol.getName(), symbol.getFilename() );
|
||||
}
|
||||
|
||||
public static CGlobalVariable createGlobalVariable( CDebugElement parent, IGlobalVariableDescriptor descriptor, ICDIVariableDescriptor cdiVariableObject ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue