Index:
ChangeLog =================================================================== RCS
file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v retrieving revision
1.217 diff -u -r1.217 ChangeLog --- ChangeLog 22 Jul 2003 22:32:40
-0000 1.217 +++ ChangeLog 24 Jul 2003 17:57:01 -0000 @@ -1,3
+1,8 @@ +2003-07-24 Mikhail Khodjaiants + Fix for PR 40696. If the
project contains the reference to a project that is + deleted from the
workspace the source locator tries to get the location of deleted
project. + * CProjectSourceLocation.java + 2003-07-22
Mikhail Khodjaiants Create a special type of ICDIVariable
(ErrorVariable) if request to gdb fails. *
CVariable.java Index:
src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java =================================================================== RCS
file:
/home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java,v retrieving
revision 1.9 diff -u -r1.9 CProjectSourceLocation.java ---
src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java 17
Jul 2003 20:24:01 -0000 1.9 +++
src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java 24
Jul 2003 17:57:06 -0000 @@ -160,6 +160,8 @@ private Object
findFileByRelativePath( IContainer container, String fileName
) { IPath rootPath =
container.getLocation(); + if ( rootPath == null
) + return null; IPath path =
rootPath.append( fileName ); Object result =
findFileByAbsolutePath( path.toOSString() ); if ( result ==
null )
|