Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBMemory.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBMemory.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBMemory.java
index 82c0914934e..e6f994e2860 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBMemory.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBMemory.java
@@ -8,6 +8,7 @@
* Contributors:
* Mentor Graphics - Initial API and implementation
* John Dallaway - Add methods to get the endianness and address size (Bug 225609)
+ * Philippe Gil (AdaCore) - Don't fail initializeMemoryData if sizeof(void *) cannot be evaluated (Bug 421541)
*******************************************************************************/
package org.eclipse.cdt.dsf.gdb.service;
@@ -143,6 +144,13 @@ public class GDBMemory extends MIMemory implements IGDBMemory {
fAddressSizes.put(memContext, getData());
requestMonitor.done();
}
+ @Override
+ @ConfinedToDsfExecutor("fExecutor")
+ protected void handleError() {
+ // log the error, but go on initializing memory data.
+ GdbPlugin.getDefault().getLog().log(getStatus());
+ requestMonitor.done();
+ }
});
}
},

Back to the top