HP (Hewlett-Packard) IA-64 Computer Accessories User Manual


 
Copyright © 2000 Hewlett-Packard Co. List of Figures ix
Ski IA-64 Simulator Reference Manual 1.0L
List of Figures
Figure 1-1. Starting
xski
From the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Figure 1-2. The Four Primary
xski
Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Figure 1-3. Loading the “hello” Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Figure 1-4. The
xski
Program Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Figure 1-5. The
xski
Data Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Figure 1-6. The
xski
Register Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Figure 1-7. Changing the Data Window Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Figure 1-8. The Data Window Showing the argv and envp Vectors. . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Figure 1-9. The Data Window Showing argv and envp Strings in Hexadecimal . . . . . . . . . . . . . . . . . . 1-7
Figure 1-10. The Main Window Showing Commands in the Command History . . . . . . . . . . . . . . . . . . . 1-7
Figure 1-11. The Data Window Showing argv and envp Strings in ASCII . . . . . . . . . . . . . . . . . . . . . . 1-8
Figure 1-12. Jumping the Program Window to the Beginning of main(). . . . . . . . . . . . . . . . . . . . . . . . 1-9
Figure 1-13. The Program Window Showing Code at the Beginning of main() . . . . . . . . . . . . . . . . . . . . 1-9
Figure 1-14. The Program Window Showing a Breakpoint at main() . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Figure 1-15. The Breakpoint List Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Figure 1-16. The Terminal Window After the “hello” Program is Run . . . . . . . . . . . . . . . . . . . . . . 1-12
Figure 1-17. The
xski
Main Window after the “hello” Program is Run . . . . . . . . . . . . . . . . . . . . . . 1-12
Figure 1-18. The Main Window After Reaching the Breakpoint at main+10 . . . . . . . . . . . . . . . . . . . . 1-13
Figure 1-19. The
xski
Register Window After Stopping at a Breakpoint at main+10. . . . . . . . . . . . . . . . 1-14
Figure 1-20. The
xski
Register Window After Changing the ip Register. . . . . . . . . . . . . . . . . . . . . . 1-15
Figure 1-21. The
xski
Data Window Widened to Show ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16
Figure 1-22. The
xski
Data Window After Changing the “Hello, world” String . . . . . . . . . . . . . . . . . . 1-16
Figure 1-23. The
xski
Main Window Showing an eval Command and Its Result . . . . . . . . . . . . . . . . . 1-17
Figure 2-1. The Curses-based
ski
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Figure 2-2. The X Window System, Motif-based
xski
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Figure 2-3. The Command-Line
bski
Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Figure 3-1. The Register Window in
xski
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Figure 3-2. The
xski
User Registers Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Figure 3-3. The
xski
General Registers Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Figure 3-4. The
xski
Floating Point Registers Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Figure 3-5. The
xski
System Registers Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Figure 3-6. The
xski
IA-32 Registers Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Figure 3-7. An
xski
Pane Resizer: The Small Box Between the Scrollbars . . . . . . . . . . . . . . . . . . . . . 3-5
Figure 3-8. The
ski
Register Window (at Top) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Figure 3-9.
xski
’s Program Window Showing Part of an IA-64 “hello world” Program . . . . . . . . . . . . . . 3-7
Figure 3-10.
xski
’s Program Window Showing IA-64 Predication and Breakpoints . . . . . . . . . . . . . . . . . 3-8
Figure 3-11.
xski
’s Program Window Showing IA-32 Code, the Instruction Pointer, and a Breakpoint . . . . . . . 3-9
Figure 3-12.
xski
’s Program Window Showing Illegal Instructions. . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Figure 3-13.
xski
’s Program Window Showing Unallocated Space or No Translation . . . . . . . . . . . . . . . 3-10
Figure 3-14.
xski
’s Data Window Showing Unallocated Space Followed by Data . . . . . . . . . . . . . . . . . 3-11
Figure 3-15.
xski
’s Data Window Showing Data Interpreted as Instruction Bundles . . . . . . . . . . . . . . . . 3-11
Figure 3-16.
xski
’s Main (Command) Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Figure 3-17.
ski
’s Command Window (at Bottom) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Figure 3-18.
xski
’s Symbol List Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Figure 4-1.
xski
Evaluating Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Figure 4-2.
xski
’s Symbol List Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Figure 5-1.
xski
’s Program Window Showing IA-64 Assembly Language Code . . . . . . . . . . . . . . . . . . 5-3
Figure 5-2.
xski
’s Program Window Showing Intermixed C and IA-64 Assembly Code . . . . . . . . . . . . . . 5-4
Figure 5-3.
xski
’s Assembly Language Dump Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Figure 5-4.
xski
Showing Data as Instruction Bundles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Figure 5-5.
xski
Showing Data in Raw Hexadecimal and ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Figure 5-6.
xski
’s Hexadecimal Dump Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Figure 6-1. Example Code to Simulate an External Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Figure 6-2. sdt Command Output in
xski
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3