diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 090fa7e0991..417870c2393 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2003-10-29 Mikhail Khodjaiants + Fix for PR 43856: Format doesn't work for wchar_t. + * CValue.java + 2003-10-23 Mikhail Khodjaiants Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if the thread contains stack frames or not. This method is only used by UI to update the thread label. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java index b8a050492a5..c709652a7bf 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java @@ -455,7 +455,7 @@ public class CValue extends CDebugElement implements ICValue if ( getParentVariable() != null ) { int size = getParentVariable().sizeof(); - if ( size == 16 ) + if ( size == 2 ) { switch( getParentVariable().getFormat() ) { @@ -471,7 +471,7 @@ public class CValue extends CDebugElement implements ICValue } } } - if ( size == 32 ) + if ( size == 4 ) { switch( getParentVariable().getFormat() ) {