Manuals
/
HP
/
Computer Equipment
/
Computer Accessories
HP
IA-64, Ski Simulator
manual
xski’s Symbol List Window
Models:
IA-64
Ski Simulator
1
51
110
110
Download
110 pages
21.23 Kb
48
49
50
51
52
53
54
55
xski’s Symbol List Window
Misaligned Data Access Trap
Command Line Flags
Setting Program Breakpoints
How to
Page 51
Image 51
Ski
IA-64
Simulator Reference Manual 1.0L
Figure
3-18.
xski
’s Symbol List Window
Copyright © 2000
Hewlett-Packard
Co.
Screen Presentation
3-15
Page 50
Page 52
Page 51
Image 51
Page 50
Page 52
Contents
Copyright 2000 Hewlett-Packard Co
Ski IA-64 Simulator Reference Manual
Trademarks
Printing History
Syntax Conventions
How to Use This Manual
Preface
Font 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
Starting xski
How to Run an IA-64 Application Program
Getting Started a Ski Tutorial
Ski Simulator
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
Defects and Defect Reporting
Overview
Introduction
What You Need to Know to Use This Manual
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
Summary of the Quit Command
Quitting Ski
Quit expression
Screen Presentation
Ski’s Use of Windows
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
Command/Main Window
Invalid Code and the Data 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 Sequences, Repetition, and Abbreviation
Command Language
Command Entry
Command Arguments
Expressions
Argument Specification
Numeric Arguments
Numbers and Counts
Xski Evaluating Expressions
Ski Simulator Arithmetic and Logic Operators
Symbolic Arguments
Program-Defined Symbols
Addresses
Filenames
Resolving Ambiguous Symbols and Numbers
Internal Variables
Labels
Ski IA-64 Simulator Reference Manual 1.0L
Xski Register Window Commands
Screen Manipulation Commands
Register Window Commands
Summary of 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
Df count
Data Window Commands
Summary of Data Window Commands
Dj address
Dd startingaddress endingaddress filename
Xski Showing Data in Raw Hexadecimal and Ascii
Ski Support for System-Mode Programs
Program Simulation
Application-Mode and System-Mode Simulation
Ski Support for Application-Mode Programs
System-Mode TLB Simulation
Summary of TLB Display Commands
System-Mode IA-64 Programs
System-Mode IA-32 Programs
Misaligned Data Access Trap
How to Load a Program
Program Loading
Creating the argc, argv, and envp Parameters
Summary of Program Loading Commands
Load filename args+
Adding Information after Loading
Program Execution
Summary of Program Execution Commands
Ski IA-64 Simulator Reference Manual 1.0L Program Simulation
Linux and MS-DOS ABI Emulation
Interruptions
Linux Application Environment
Linux System Calls Accepted but Ignored by Ski
Linux System Calls Supported by Ski
MS-DOS Application Environment
Program I/O
MS-DOS System Calls in Hexadecimal Supported by Ski
Copyright 2000 Hewlett-Packard Co
Debugging
Changing Registers and Memory with Assignment Commands
Summary of Assignment Commands
Examples of Assignment Commands
Original Program Loaded in ski
Allocation
Bit-encoded Registers
Program Breakpoints
Summary of The eval Command
Setting Program Breakpoints
Evaluating Formulas and Formatting Data
Listing Program Breakpoints
Deleting Program Breakpoints
Summary of Program Breakpoint Commands
Unexpected Breakpoints
Bs address
Deleting Data Breakpoints
Setting Data Breakpoints
Summary of Data Breakpoint Commands
Data Breakpoints
Dumping Registers and Memory to a File
Symbol Table Commands
Summary of Save and Restore Commands
Summary of Symbol Commands
Isyms filename
Symlist Output from xski
Ski IA-64 Simulator Reference Manual 1.0L Debugging
Initialization File
Command Files
Labels and Control Flow in Command Files
Goto Command and Labels
Comments in Command Files
An Example Command File
If Command
Label
Summary of Command File Commands
filename
# comment
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