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