Manuals
/
HP
/
Computer Equipment
/
Computer Accessories
HP
Ski Simulator, IA-64
manual
Copyright 2000 Hewlett-Packard Co
Models:
IA-64
Ski Simulator
1
30
110
110
Download
110 pages
21.23 Kb
27
28
29
30
31
32
33
34
xski’s Symbol List Window
Misaligned Data Access Trap
Command Line Flags
Setting Program Breakpoints
How to
Page 30
Image 30
Ski
IA-64
Simulator Reference Manual 1.0L
1-18
Getting Started: A Ski Tutorial
Copyright © 2000
Hewlett-Packard
Co.
Page 29
Page 31
Page 30
Image 30
Page 29
Page 31
Contents
Ski IA-64 Simulator Reference Manual
Copyright 2000 Hewlett-Packard Co
Printing History
Trademarks
Font Conventions
How to Use This Manual
Preface
Syntax Conventions
Italic+
Table of Contents
Ski IA-64 Simulator Reference Manual
Vii
Ski IA-64 Simulator Reference Manual Viii Table of Contents
List of Figures
Ski IA-64 Simulator Reference Manual 1.0L
List of Tables
Ski IA-64 Simulator Reference Manual 1.0L Xii List of Tables
Ski Simulator
How to Run an IA-64 Application Program
Getting Started a Ski Tutorial
Starting xski
Starting xski From the Command Line
Exiting Ski
Loading Your Program
Loading the hello Program
Inspecting Data
Xski Data Window
Changing the Data Window Display
Data Window Showing argv and envp Strings in Hexadecimal
Viewing Data in Ascii
Looking at Code
Viewing Source Code Mixed In with Assembly Code
12. Jumping the Program Window to the Beginning of main
Controlling Breakpoints
14. The Program Window Showing a Breakpoint at main
Running a Program
15. The Breakpoint List Window
Single-stepping a Program
16. The Terminal Window After the hello Program is Run
Changing Registers and Memory
18. The Main Window After Reaching the Breakpoint at main+10
Ski IA-64 Simulator Reference Manual 1.0L
20. The xski Register Window After Changing the ip Register
21. The xski Data Window Widened to Show Ascii
Getting Help
Next Steps
Copyright 2000 Hewlett-Packard Co
What You Need to Know to Use This Manual
Overview
Introduction
Defects and Defect Reporting
Using bski for Batch Simulations
Ski Variations
X Window System, Motif-based xski Interface
Command Line Flags
Starting Ski
XSki File
1.1 Summary of Flags
Summary of the Quit Command
Quitting Ski
Quit expression
Screen Presentation
Ski’s Use of Windows
Register Window
User Registers Pane
Register Window in xski
General Registers Pane
Floating Point Registers Pane
System Registers Pane
IA-32 Registers Pane
Resizing Register Window Panes with xski
Register Window and ski
Program Window
1 IA-64 Instruction Display
Ski IA-64 Simulator Reference Manual 1.0L
2 IA-32 Instruction Display
Changing the Range of Locations Shown in the Program Window
Invalid Code and the Program Window
Data Window
12. xski’s Program Window Showing Illegal Instructions
Changing the Range of Locations Shown in the Data Window
Command/Main Window
Invalid Code and the Data Window
Xski Main Window
Ski Command Window
16. xski’s Main Command Window
17. ski’s Command Window at Bottom
Other Windows
18. xski’s Symbol List Window
Copyright 2000 Hewlett-Packard Co
Command Arguments
Command Language
Command Entry
Command Sequences, Repetition, and Abbreviation
Numbers and Counts
Argument Specification
Numeric Arguments
Expressions
Ski Simulator Arithmetic and Logic Operators
Xski Evaluating Expressions
Symbolic Arguments
Program-Defined Symbols
Addresses
Labels
Resolving Ambiguous Symbols and Numbers
Internal Variables
Filenames
Ski IA-64 Simulator Reference Manual 1.0L
Summary of Register Window Commands
Screen Manipulation Commands
Register Window Commands
Xski Register Window Commands
Program Window Commands
Summary of Program Window Commands
Xski’s Program Window Showing IA-64 Assembly Language Code
Xski’s Assembly Language Dump Window
Pd startingaddress endingaddress filename
Dj address
Data Window Commands
Summary of Data Window Commands
Df count
Xski Showing Data in Raw Hexadecimal and Ascii
Dd startingaddress endingaddress filename
Ski Support for Application-Mode Programs
Program Simulation
Application-Mode and System-Mode Simulation
Ski Support for System-Mode Programs
System-Mode IA-32 Programs
Summary of TLB Display Commands
System-Mode IA-64 Programs
System-Mode TLB Simulation
Misaligned Data Access Trap
How to Load a Program
Program Loading
Adding Information after Loading
Summary of Program Loading Commands
Load filename args+
Creating the argc, argv, and envp Parameters
Summary of Program Execution Commands
Program Execution
Ski IA-64 Simulator Reference Manual 1.0L Program Simulation
Linux and MS-DOS ABI Emulation
Interruptions
Linux Application Environment
Linux System Calls Supported by Ski
Linux System Calls Accepted but Ignored by Ski
MS-DOS Application Environment
Program I/O
MS-DOS System Calls in Hexadecimal Supported by Ski
Copyright 2000 Hewlett-Packard Co
Examples of Assignment Commands
Changing Registers and Memory with Assignment Commands
Summary of Assignment Commands
Debugging
Original Program Loaded in ski
Bit-encoded Registers
Allocation
Evaluating Formulas and Formatting Data
Summary of The eval Command
Setting Program Breakpoints
Program Breakpoints
Deleting Program Breakpoints
Listing Program Breakpoints
Summary of Program Breakpoint Commands
Unexpected Breakpoints
Bs address
Data Breakpoints
Setting Data Breakpoints
Summary of Data Breakpoint Commands
Deleting Data Breakpoints
Summary of Symbol Commands
Symbol Table Commands
Summary of Save and Restore Commands
Dumping Registers and Memory to a File
Symlist Output from xski
Isyms filename
Ski IA-64 Simulator Reference Manual 1.0L Debugging
Goto Command and Labels
Command Files
Labels and Control Flow in Command Files
Initialization File
Comments in Command Files
An Example Command File
If Command
# comment
Summary of Command File Commands
filename
Label
Ski IA-64 Simulator Reference Manual 1.0L Command Files
Command Reference
=s address stringwithoutspaces
Dbs address length rwrw
Dbd breakpointnumber
Help commandname
Eval expressionwithoutspaces+
Quit returnvalueforshell
Rest filename
Step until expressionwithoutspaces
Ski IA-64 Simulator Reference Manual 1.0L
Register Names
IA-64 Registers
Register Names
Copyright 2000 Hewlett-Packard Co Register Names B-3
Ski IA-64 Simulator Reference Manual 1.0L
Copyright 2000 Hewlett-Packard Co Register Names B-5
Ski IA-64 Simulator Reference Manual 1.0L Register Names
Internal Variable Names
Internal Variables
Copyright 2000 Hewlett-Packard Co
Simulator Status and Error Messages
All breakpoints deleted
Simulator Status and Error Messages
Expression
Help Unknown command %s
Missing ELF header
Not an IA-64 file
Stopping at %s due to unimplemented instruction
Usage %s options file args
Top
Page
Image
Contents