Ticket #11112: 0001-Fix-debugger-only-displaying-16-bits-of-64-bit-integ.patch

File 0001-Fix-debugger-only-displaying-16-bits-of-64-bit-integ.patch, 1001 bytes (added by zhuowei, 10 years ago)
  • src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp

    From 2b4599cd2b72e1f826d0663e7c2e211272832638 Mon Sep 17 00:00:00 2001
    From: Zhuowei Zhang <zhuoweizhang@yahoo.com>
    Date: Fri, 8 Aug 2014 08:01:09 +0000
    Subject: [PATCH] Fix debugger only displaying 16 bits of 64-bit integers in
     the memory inspector
    
    ---
     src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp b/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
    index f325543..c0dd2b6 100644
    a b MemoryView::_GetNextHexBlock(char* buffer, int32 bufferSize,  
    624624        }
    625625        case HexMode64BitInt:
    626626        {
    627             uint64 data = *((const uint16*)address);
     627            uint64 data = *((const uint64*)address);
    628628            switch(fCurrentEndianMode)
    629629            {
    630630                case EndianModeBigEndian: