Ski IA-64 Simulator Reference Manual 1.0L

which may change by the time the simulated IA-64 processor actually loads the bytes.) The address is expressed as a sym- bol from the executable file’s symbol table or as a sixteen digit hexadecimal number.

With the dbndl command, Ski can display data formatted as IA-64 instruction bundles in hexadecimal, as shown in Figure 3-15.(The figure was generated by loading a program and then issuing the command “ dj main-10 followed by the dbndl command.) This is useful when you need to see the raw hexadecimal instruction encodings. The first column displays the address of each bundle. The second column displays the template field. The remaining three columns are the 41-bit instructions from slots 0, 1, and 2. Note: for the purpose of setting breakpoint addresses, Ski “pretends” that the slot 0 instruction is located at the first byte of the bundle, the slot 1 instruction is located at the fourth byte, and the slot 2 instruction is located at the eighth byte. See “How Ski Implements Breakpoints” on page 8-6for more information.

Figure 3-14. xski’s Data Window Showing Unallocated Space Followed by Data

Figure 3-15. xski’s Data Window Showing Data Interpreted as Instruction Bundles

3.6.1Changing the Range of Locations Shown in the Data Window

As with the Program Window, xski doesn’t place a scroll bar in the Data Window. Instead, like ski, xski provides the df, db, and dj commands, described in Section 5.3, “Data Window Commands”. Use these commands to scroll the Data Win- dow forwards and backwards and to “jump” the Data Window. In addition, xski understands the Page Up and Page Down keys and the arrow keys. When the Data Window has the X Window System focus, the Page Up, Page Down, up-arrow, and down-arrow keys emit the “ db”, “ df”, “ db 1”, and “ df 1” commands, respectively.

You can control the size of xski’s Data Window with your window manager’s standard mechanisms. If you are using ski, the window is fixed in size; on a twenty four line terminal, the window will be two lines tall.

Copyright © 2000 Hewlett-Packard Co.

Screen Presentation 3-11

Page 47
Image 47
HP IA-64, Ski Simulator manual Changing the Range of Locations Shown in the Data Window