Ski IA-64 Simulator Reference Manual 1.0L

Figure 1-19. The xski Register Window After Stopping at a Breakpoint at main+10

By changing the value of the ip register, you can change where in the program Ski will resume simulation. Enter the com- mand “ = ip main+20” in the Main Window and observe the first line of the first pane in the Register Window: notice that the ip register changes to reflect your command, as Figure 1-20shows. (You may need to left-click in the Main Win- dow to make it active.) You can make similar changes to all of the architecturally-visible, non-hardwired IA-64 registers, which helps you debug your program. You can test your program’s behavior in exceptional cases, such as handling unusual errors.

1-14 Getting Started: A Ski Tutorial

Copyright © 2000 Hewlett-Packard Co.

Page 26
Image 26
HP Ski Simulator manual Ski IA-64 Simulator Reference Manual 1.0L