Manuals
/
HP
/
Computer Equipment
/
Computer Accessories
HP
Ski Simulator
manual
Ski IA-64 Simulator Reference Manual 1.0L Debugging
Models:
IA-64
Ski Simulator
1
84
110
110
Download
110 pages
21.23 Kb
81
82
83
84
85
86
87
88
xski’s Symbol List Window
Misaligned Data Access Trap
Command Line Flags
Setting Program Breakpoints
How to
Page 84
Image 84
Ski
IA-64
Simulator Reference Manual 1.0L
8-10
Debugging
Copyright © 2000
Hewlett-Packard
Co.
Page 83
Page 85
Page 84
Image 84
Page 83
Page 85
Contents
Ski IA-64 Simulator Reference Manual
Copyright 2000 Hewlett-Packard Co
Printing History
Trademarks
How to Use This Manual
Preface
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
How to Run an IA-64 Application Program
Getting Started a Ski Tutorial
Ski Simulator
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
Overview
Introduction
What You Need to Know to Use This Manual
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 Language
Command Entry
Command Arguments
Command Sequences, Repetition, and Abbreviation
Argument Specification
Numeric Arguments
Numbers and Counts
Expressions
Ski Simulator Arithmetic and Logic Operators
Xski Evaluating Expressions
Symbolic Arguments
Program-Defined Symbols
Addresses
Resolving Ambiguous Symbols and Numbers
Internal Variables
Labels
Filenames
Ski IA-64 Simulator Reference Manual 1.0L
Screen Manipulation Commands
Register Window Commands
Summary of 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
Data Window Commands
Summary of Data Window Commands
Dj address
Df count
Xski Showing Data in Raw Hexadecimal and Ascii
Dd startingaddress endingaddress filename
Program Simulation
Application-Mode and System-Mode Simulation
Ski Support for Application-Mode Programs
Ski Support for System-Mode Programs
Summary of TLB Display Commands
System-Mode IA-64 Programs
System-Mode IA-32 Programs
System-Mode TLB Simulation
Misaligned Data Access Trap
How to Load a Program
Program Loading
Summary of Program Loading Commands
Load filename args+
Adding Information after Loading
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
Changing Registers and Memory with Assignment Commands
Summary of Assignment Commands
Examples of Assignment Commands
Debugging
Original Program Loaded in ski
Bit-encoded Registers
Allocation
Summary of The eval Command
Setting Program Breakpoints
Evaluating Formulas and Formatting Data
Program Breakpoints
Deleting Program Breakpoints
Listing Program Breakpoints
Summary of Program Breakpoint Commands
Unexpected Breakpoints
Bs address
Setting Data Breakpoints
Summary of Data Breakpoint Commands
Data Breakpoints
Deleting Data Breakpoints
Symbol Table Commands
Summary of Save and Restore Commands
Summary of Symbol Commands
Dumping Registers and Memory to a File
Symlist Output from xski
Isyms filename
Ski IA-64 Simulator Reference Manual 1.0L Debugging
Command Files
Labels and Control Flow in Command Files
Goto Command and Labels
Initialization File
Comments in Command Files
An Example Command File
If Command
Summary of Command File Commands
filename
# comment
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