Ski IA-64 Simulator Reference Manual 1.0L
display off or on using the pa (“ program assembly”) and pm (“ program mixed”) commands, respectively. Mixed code dis- play only works if you have the source code to the program available to Ski; the source code isn’t embedded in the ELF file. Also, you must compile your code with the appropriate compiler flags, for example, with the
1.2.8Controlling Breakpoints
You can think of Ski as a debugger that happens to work on a simulated processor rather than a real processor. Like any good debugger, Ski provides breakpoints. To set a breakpoint in an
To set a breakpoint at the beginning of main(), type “ bs main” in the Main Window. The Program Window shows a “ 0” in the first column of the window at the breakpoint location (the ‘‘alloc’’ instruction), because you just used breakpoint #0, as Figure
Figure 1-14. The Program Window Showing a Breakpoint at main()
Use the “ bl” command (“ breakpoint list”) to see a list of the breakpoints, as shown in Figure
To delete breakpoints individually, use the “ bd” command (“ breakpoint delete”). Use the “ bD” command (“ breakpoint Delete all”) to delete all breakpoints at once. Delete all your breakpoints before continuing this tutorial.
Copyright © 2000 |