1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00

Fix for bug 55766: The Shared Libraries view displays the wrong icon if the "Load Symbols" action fails.

This commit is contained in:
Mikhail Khodjaiants 2004-03-23 21:23:25 +00:00
parent 68273269dc
commit 1cef0ffb04
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-03-23 Alain Magloire
Fix for bug 55766: The Shared Libraries view displays the wrong icon if the "Load Symbols" action fails.
* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java
2004-03-17 Alain Magloire
Changes pass the array of events instead

View file

@ -295,8 +295,11 @@ public class SharedLibraryManager extends Manager implements ICDISharedLibraryMa
} catch (MIException e) {
throw new MI2CDIException(e);
}
((SharedLibrary)libs[i]).getMIShared().setSymbolsRead(true);
mi.fireEvent(new MISharedLibChangedEvent(libs[i].getFileName()));
// Do not do this, error are not propagate by the CLI "shared command
// So we have to manually recheck all the shared with "info shared"
//((SharedLibrary)libs[i]).getMIShared().setSymbolsRead(true);
//mi.fireEvent(new MISharedLibChangedEvent(libs[i].getFileName()));
update();
}
}