Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorJohn Cortell2008-07-14 12:09:56 -0400
committerJohn Cortell2008-07-14 12:09:56 -0400
commitd75a7974ce731b607934d3ee7e1b17807185b23c (patch)
tree780ddcbefa8ce0caf70b63d4f04a67e7101284b4 /debug
parentbb6477af8208d3c016b8575d722686c53f9a8b0b (diff)
downloadorg.eclipse.cdt-d75a7974ce731b607934d3ee7e1b17807185b23c.tar.gz
org.eclipse.cdt-d75a7974ce731b607934d3ee7e1b17807185b23c.tar.xz
org.eclipse.cdt-d75a7974ce731b607934d3ee7e1b17807185b23c.zip
Fixed 240538.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java
index 9089002e83..aab01b11fd 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java
@@ -213,16 +213,13 @@ public class CModule extends CDebugElement implements ICModule {
if ( path == null || path.isEmpty() ) {
requestFailed( CoreModelMessages.getString( "CModule.2" ), null ); //$NON-NLS-1$
}
- String message = CoreModelMessages.getString( "CModule.4" ); //$NON-NLS-1$
- if ( fCDIObject instanceof ICDISharedLibrary && path.equals( getSymbolsFileName() )) {
+ else if ( fCDIObject instanceof ICDISharedLibrary && path.equals( getSymbolsFileName() )) {
try {
((ICDISharedLibrary)fCDIObject).loadSymbols();
- return;
}
catch( CDIException e ) {
- message = e.getMessage();
+ targetRequestFailed( e.getMessage(), null );
}
}
- targetRequestFailed( message, null );
}
}

Back to the top