[haiku-bugs] [Haiku] #11112: Fix debugger only displaying 16 bits of 64-bit integers in the Inspect Memory window

  • From: "zhuowei" <trac@xxxxxxxxxxxx>
  • Date: Fri, 08 Aug 2014 08:08:58 -0000

#11112: Fix debugger only displaying 16 bits of 64-bit integers in the Inspect
Memory window
-----------------------------------+------------------------------
 Reporter:  zhuowei                |        Owner:  anevilyak
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Applications/Debugger  |      Version:  R1/Development
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 The "64-bit integer" display option in Debugger only displays 16 bits of
 each integer.

 Steps to reproduce:

 run

 Debugger /bin/bash

 In the right-pane, select Registers,

 right-click rsp and choose Inspect

 change Hex Mode to 64-bit

 Expected result: the actual values in memory are printed as 64-bit
 integers

 Actual result: only the bottom 16 bits are printed (if in little endian
 mode) or the top 16 bits (if in big endian mode)

 A patch is attached to fix this issue.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11112>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: