Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Fix for PR 43856: Format doesn't work for wchar_t

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.254
diff -u -r1.254 ChangeLog
--- ChangeLog 23 Sep 2003 20:51:28 -0000 1.254
+++ ChangeLog 29 Sep 2003 19:04:18 -0000
@@ -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.
Index: src/org/eclipse/cdt/debug/internal/core/model/CValue.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java,v
retrieving revision 1.36
diff -u -r1.36 CValue.java
--- src/org/eclipse/cdt/debug/internal/core/model/CValue.java 21 Aug 2003 15:24:21 -0000 1.36
+++ src/org/eclipse/cdt/debug/internal/core/model/CValue.java 29 Sep 2003 19:04:22 -0000
@@ -455,7 +455,7 @@
   if ( getParentVariable() != null )
   {
    int size = getParentVariable().sizeof();
-   if ( size == 16 )
+   if ( size == 2 )
    {
     switch( getParentVariable().getFormat() )
     {
@@ -471,7 +471,7 @@
      }
     }
    }
-   if ( size == 32 )
+   if ( size == 4 )
    {
     switch( getParentVariable().getFormat() )
     {

Back to the top