Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2005-06-16 17:51:21 +0000
committerMikhail Khodjaiants2005-06-16 17:51:21 +0000
commit4f60c4a7aa65f91977b26a8d340d62700c91c8a1 (patch)
tree9e300da809cd6c36d6e5dacfb3f94cd70b0848e7
parent1b6e13f52d0a4f39f91ae7f02840c72cb9c763e4 (diff)
downloadorg.eclipse.cdt-4f60c4a7aa65f91977b26a8d340d62700c91c8a1.tar.gz
org.eclipse.cdt-4f60c4a7aa65f91977b26a8d340d62700c91c8a1.tar.xz
org.eclipse.cdt-4f60c4a7aa65f91977b26a8d340d62700c91c8a1.zip
Bug 100445: The endianess of a debug target is reversed.
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog4
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index e76838c0099..78a2aaf580b 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,4 +1,8 @@
2005-06-16 Mikhail Khodjaiants
+ Bug 100445: The endianess of a debug target is reversed.
+ * CMemoryBlockExtension.java
+
+2005-06-16 Mikhail Khodjaiants
Partial fix for bug 79371: Setting breakpoints in the left hand side ruler of the disassembly view is sluggish.
* CBreakpointManager.java
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java
index 2951c2bb5f7..c9d1dd3d0a8 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java
@@ -192,7 +192,7 @@ public class CMemoryBlockExtension extends CDebugElement implements IMemoryBlock
private boolean isBigEndian() {
IExecFileInfo info = (IExecFileInfo)getDebugTarget().getAdapter( IExecFileInfo.class );
if ( info != null ) {
- return info.isLittleEndian();
+ return !info.isLittleEndian();
}
return false;
}

Back to the top