Bug 4669

Summary: Should memory window table elements include 0x?
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 3119    

Description Andrew Cagney 2007-06-20 16:26:14 UTC
This came up in discussion in 2007-06-20 meeting; I'm not clear that it was
resolved fully.  It was noted that the default should be: location, byte, "word
in natural byte order", I assume that in the below:

Should memory window table elements include 0x?

For instance:
  0x00000000 | 01 02 03 04 | 04030201
vs:
  0x00000000 | 0x01 0x02 0x03 0x04 | 0x04030201
vs:
  0x00000000 | 01 02 03 04 | 0x04030201

My take is that the third should be the default:

-> fixed sized hex quantities (8, 16, ...) dropped the 0x
-> "word" sized hex quantities included it

For instance
             | 8-bit       | 16-bit BE | Word BE
  0x00000000 | 01 02 03 04 | 0102 0304 | 0x01020304
Comment 1 Zhao Shujing 2007-09-26 07:47:31 UTC
After investigate gdb gtk/insight and other debuggers of linux, Choose the
second one to frysk.
2007-09-25  Zhao Shujing <pearly.zhao@oracle.com>

        * memory/MemoryWindow.java: Fixes #4674.
        * gladedir/memorywindow.glade: Change adjustment to eight.