HP IA-64 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software HP IA-64. HP IA-64 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 110
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Ski IA-64 Simulator Reference Manual
Rev. 1.0L (26 Apr 00)
Copyright © 2000 Hewlett-Packard Co.
Zobrazit stránku 0
1 2 3 4 5 6 ... 109 110

Shrnutí obsahu

Strany 1 - Rev. 1.0L (26 Apr 00)

Ski IA-64 Simulator Reference ManualRev. 1.0L (26 Apr 00)Copyright © 2000 Hewlett-Packard Co.

Strany 2 - Trademarks

x List of Figures Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 8-1. The Original Program Loaded inski . . .

Strany 3 - Syntax Conventions

B-6 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 4

Copyright © 2000 Hewlett-Packard Co. Internal Variable Names C-1Ski IA-64 Simulator Reference Manual 1.0LC Internal Variable NamesSki has one combined

Strany 5 - Table of Contents

C-2 Internal Variable Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 6

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-1Ski IA-64 Simulator Reference Manual 1.0LD Simulator Status and Error Mess

Strany 7

D-2 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LBreakpoint #%d wasn’t setYou used

Strany 8

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-3Ski IA-64 Simulator Reference Manual 1.0Lmissions are wrong or a remote fil

Strany 9 - List of Figures

D-4 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lhelp: Unknown command: %sYou aske

Strany 10

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-5Ski IA-64 Simulator Reference Manual 1.0LMissing ELF headerSee “File size

Strany 11

D-6 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNot an IA-64 fileSee “File size &g

Strany 12

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-7Ski IA-64 Simulator Reference Manual 1.0LReserved register/field faultYour

Strany 13 - 1.1 The Ski Simulator

Copyright © 2000 Hewlett-Packard Co. List of Tables xiSki IA-64 Simulator Reference Manual 1.0LList of TablesTable 4-1. Ski Simulator Arithmetic and L

Strany 14 - From the Command Line

D-8 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LUnable to open console windowYour

Strany 15 - 1.2.3 Loading Your Program

xii List of Tables Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 16 - Figure 1-4. The

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-1Ski IA-64 Simulator Reference Manual 1.0L1 Getting Started: A Ski TutorialIn t

Strany 17 - 1.2.4 Inspecting Data

1-2 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 1-1. Startingxski From the Com

Strany 18

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-3Ski IA-64 Simulator Reference Manual 1.0L1.2.2 Exiting SkiYou can quitxskiand

Strany 19

1-4 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 1-3. Loading the “hello” Progr

Strany 20 - 1.2.6 Looking at Code

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-5Ski IA-64 Simulator Reference Manual 1.0L1.2.4 Inspecting DataTo look at the a

Strany 21

1-6 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ltype “dj r12”or“dj 9ffffffffff780”, a

Strany 22 - 1.2.8 Controlling Breakpoints

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-7Ski IA-64 Simulator Reference Manual 1.0Lcharacter strings of argv and envp. (

Strany 23 - 1.2.9 Running a Program

ii Notice Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNoticeThe information in this document is subject to change wit

Strany 24 - Nothing to run”

1-8 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LAnother shortcut is the * pointer-der

Strany 25

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-9Ski IA-64 Simulator Reference Manual 1.0L1.2.7 Viewing Source Code Mixed In wi

Strany 26

1-10 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ldisplay off or on using the pa (“pro

Strany 27

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-11Ski IA-64 Simulator Reference Manual 1.0L1.2.9 Running a ProgramTo run your p

Strany 28

1-12 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L1.2.10 Single-stepping a ProgramTo t

Strany 29 - 1.2.13 Next Steps

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-13Ski IA-64 Simulator Reference Manual 1.0Lthe Main Window. Ski tells you why i

Strany 30

1-14 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LBy changing the value of the ip regi

Strany 31 - 2 Overview

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-15Ski IA-64 Simulator Reference Manual 1.0LChanging registers isn’t enough to d

Strany 32 - 2.4 Ski Variations

1-16 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNext, issue the command “=s _IO_stdi

Strany 33 - Interface

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-17Ski IA-64 Simulator Reference Manual 1.0L1.2.12 Getting HelpTo see what comma

Strany 34 - 2.5 Starting Ski

Copyright © 2000 Hewlett-Packard Co. Preface iiiSki IA-64 Simulator Reference Manual 1.0LPrefaceThis document is the Ski IA-64 Simulator Reference Man

Strany 35 - 2.5.2 The XSki File

1-18 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 36 - 2.6 Quitting Ski

Copyright © 2000 Hewlett-Packard Co. Overview 2-1Ski IA-64 Simulator Reference Manual 1.0L2 Overview2.1 IntroductionThe Ski simulator is a software pa

Strany 37 - 3 Screen Presentation

2-2 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.4 Ski VariationsThe simulator is available in three variet

Strany 38 - 3.2.1 The User Registers Pane

Copyright © 2000 Hewlett-Packard Co. Overview 2-3Ski IA-64 Simulator Reference Manual 1.0LFigure 2-2. The X Window System, Motif-basedxski Interface

Strany 39

2-4 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.5 Starting SkiTo start the Ski simulator, type its name (s

Strany 40

Copyright © 2000 Hewlett-Packard Co. Overview 2-5Ski IA-64 Simulator Reference Manual 1.0Lstandard Linux fashion. The Ski command line syntax is shown

Strany 41 - 3.4 The Register Window and

2-6 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.6 Quitting SkiThe quit command causes the simulator to exi

Strany 42 - 3.5 The Program Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-1Ski IA-64 Simulator Reference Manual 1.0L3 Screen Presentation3.1 Ski’s Use of Windowsxski

Strany 43

3-2 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lskishows only a portion of a register set at a ti

Strany 44

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-3Ski IA-64 Simulator Reference Manual 1.0L3.2.2 The General Registers PaneThe general regis

Strany 45

iv Syntax Conventions Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Litalic+A plus sign applied to an argument indicates

Strany 46 - 3.6 The Data Window

3-4 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.2.4 The System Registers PaneThe system registe

Strany 47

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-5Ski IA-64 Simulator Reference Manual 1.0L3.3 Resizing Register Window Panes withxskiAs men

Strany 48 - 3.7 The Command/Main Window

3-6 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.5 The Program WindowThe Program Window provides

Strany 49 - Command Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-7Ski IA-64 Simulator Reference Manual 1.0Linstruction in the bundle. The end of each instru

Strany 50 - 3.8 Other Windows

3-8 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.5.2 IA-32 Instruction DisplayIA-32 instructions

Strany 51 - ’s Symbol List Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-9Ski IA-64 Simulator Reference Manual 1.0L3.5.3 Changing the Range of Locations Shown in th

Strany 52

3-10 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.6 The Data WindowIn the Data Window,xskiandski

Strany 53 - 4 Command Language

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-11Ski IA-64 Simulator Reference Manual 1.0Lwhich may change by the time the simulated IA-64

Strany 54 - 4.4 Argument Specification

3-12 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.6.2 Invalid Code and the Data WindowIf you tel

Strany 55

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-13Ski IA-64 Simulator Reference Manual 1.0L3.7.2 Theski Command Windowski’s Command Window

Strany 56 - 4.4.2 Symbolic Arguments

Copyright © 2000 Hewlett-Packard Co. Table of Contents vSki IA-64 Simulator Reference Manual 1.0Table of Contents1 Getting Started: A Ski Tutorial .

Strany 57

3-14 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.8 Other WindowsSome commands, such as help, is

Strany 58

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-15Ski IA-64 Simulator Reference Manual 1.0LFigure 3-18.xski’s Symbol List Window

Strany 59 - 5.1 Register Window Commands

3-16 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 60 - 5.2 Program Window Commands

Copyright © 2000 Hewlett-Packard Co. Command Language 4-1Ski IA-64 Simulator Reference Manual 1.0L4 Command LanguageThe Ski command language is simple

Strany 61

4-2 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lthe commands “step 100” and “eval my_buffer”. This p

Strany 62

Copyright © 2000 Hewlett-Packard Co. Command Language 4-3Ski IA-64 Simulator Reference Manual 1.0LAs an example, inxski,eval 64 0d64 0o64 0b100000 *ma

Strany 63 - 5.3 Data Window Commands

4-4 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L4.4.1.3 AddressesAn address is specified by a 64 bit

Strany 64

Copyright © 2000 Hewlett-Packard Co. Command Language 4-5Ski IA-64 Simulator Reference Manual 1.0Lassigns the value contained in the ip register to ge

Strany 65 - 6 Program Simulation

4-6 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lfirst in its symbol tables for program-defined symbols

Strany 66

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-1Ski IA-64 Simulator Reference Manual 1.0L5 Screen Manipulation CommandsSki provid

Strany 67 - 6.5 Program Loading

vi Table of Contents Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.04.1 Command Entry. . . . . . . . . . . .

Strany 68

5-2 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LDisplays the IA-32 (eax, ebx, esp, etc.)

Strany 69 - 6.6 Program Execution

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-3Ski IA-64 Simulator Reference Manual 1.0LpmDisplay the program being simulated in

Strany 70

5-4 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lpd starting_address ending_address [filen

Strany 71 - 7.1 Interruptions

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-5Ski IA-64 Simulator Reference Manual 1.0L5.3 Data Window CommandsThe Data Window

Strany 72

5-6 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ldd starting_address ending_address [filen

Strany 73 - 7.4 Program I/O

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-1Ski IA-64 Simulator Reference Manual 1.0L6 Program SimulationSki’s main responsibility is t

Strany 74

6-2 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L6.3.1 System-Mode IA-64 ProgramsA system-mode IA-6

Strany 75 - 8 Debugging

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-3Ski IA-64 Simulator Reference Manual 1.0L6.4 Misaligned Data Access TrapIf the psr.ac bit i

Strany 76

6-4 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lexample is “xski my_program”. The second way is to

Strany 77 - 8.1.3 Notes on Assignment

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-5Ski IA-64 Simulator Reference Manual 1.0L6.6 Program ExecutionPrograms may be run in their

Strany 78 - 8.3 Program Breakpoints

Copyright © 2000 Hewlett-Packard Co. Table of Contents viiSki IA-64 Simulator Reference Manual 1.08.7.1 Summary of Symbol Commands . . . . . .

Strany 79

6-6 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 80

Copyright © 2000 Hewlett-Packard Co. Linux and MS-DOS ABI Emulation 7-1Ski IA-64 Simulator Reference Manual 1.0L7 Linux and MS-DOS ABI EmulationAs dis

Strany 81 - 8.4 Data Breakpoints

7-2 Linux and MS-DOS ABI Emulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LSki accepts but ignores the system cal

Strany 82 - 8.7 Symbol Table Commands

Copyright © 2000 Hewlett-Packard Co. Linux and MS-DOS ABI Emulation 7-3Ski IA-64 Simulator Reference Manual 1.0L7.3 MS-DOS Application EnvironmentIA-3

Strany 83 - [filename]

7-4 Linux and MS-DOS ABI Emulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 84

Copyright © 2000 Hewlett-Packard Co. Debugging 8-1Ski IA-64 Simulator Reference Manual 1.0L8 DebuggingThe simulator provides many facilities to help y

Strany 85 - 9 Command Files

8-2 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LThe hexadecimal value 0x1234 is assigned to general registe

Strany 86 - 9.4 An Example Command File

Copyright © 2000 Hewlett-Packard Co. Debugging 8-3Ski IA-64 Simulator Reference Manual 1.0L8.1.3 Notes on Assignment8.1.3.1 Address AlignmentSki align

Strany 87

8-4 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.2 Evaluating Formulas and Formatting DataThe eval command

Strany 88

Copyright © 2000 Hewlett-Packard Co. Debugging 8-5Ski IA-64 Simulator Reference Manual 1.0L8.3.2 Deleting Program BreakpointsTwo commands delete progr

Strany 89 - A Command Reference

viii Table of Contents Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0

Strany 90

8-6 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.3.4 Notes on Program Breakpoints8.3.4.1 How Ski Implement

Strany 91

Copyright © 2000 Hewlett-Packard Co. Debugging 8-7Ski IA-64 Simulator Reference Manual 1.0Liabs [address]Sets an IA-32 breakpoint at the specified addr

Strany 92

8-8 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.5 Dumping Registers and Memory to a FileYou can dump the

Strany 93

Copyright © 2000 Hewlett-Packard Co. Debugging 8-9Ski IA-64 Simulator Reference Manual 1.0Lisyms [filename]Writes the list of internal variables to file

Strany 94

8-10 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 95 - B Register Names

Copyright © 2000 Hewlett-Packard Co. Command Files 9-1Ski IA-64 Simulator Reference Manual 1.0L9 Command FilesThe dot (“.”) command temporarily redire

Strany 96

9-2 Command Files Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lexample of using goto and a label is:loop:... other com

Strany 97

Copyright © 2000 Hewlett-Packard Co. Command Files 9-3Ski IA-64 Simulator Reference Manual 1.0L9.5 Summary of Command File Commands. filenameExecutes c

Strany 98

9-4 Command Files Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Strany 99

Copyright © 2000 Hewlett-Packard Co. Command Reference A-1Ski IA-64 Simulator Reference Manual 1.0LA Command ReferenceIn the command descriptions that

Strany 100

Copyright © 2000 Hewlett-Packard Co. List of Figures ixSki IA-64 Simulator Reference Manual 1.0LList of FiguresFigure 1-1. Startingxski From the Comma

Strany 101 - C Internal Variable Names

A-2 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lcated page, including instruction pages. Multiple v

Strany 102

Copyright © 2000 Hewlett-Packard Co. Command Reference A-3Ski IA-64 Simulator Reference Manual 1.0Ldf [count]Move the Data Window forward count lines

Strany 103

A-4 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lisyms [filename]Write internal symbols to the screen

Strany 104

Copyright © 2000 Hewlett-Packard Co. Command Reference A-5Ski IA-64 Simulator Reference Manual 1.0Lthe last line of the old window is displayed as the

Strany 105

A-6 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lurski: Show the user registers (Predicate Registers

Strany 106

Copyright © 2000 Hewlett-Packard Co. Register Names B-1Ski IA-64 Simulator Reference Manual 1.0LB Register NamesIA-64 registers are fully described in

Strany 107

B-2 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Leflags.df IA-32 Direction Flag biteflags.id IA-32 ID Fla

Strany 108

Copyright © 2000 Hewlett-Packard Co. Register Names B-3Ski IA-64 Simulator Reference Manual 1.0Lfpsr.sf2.pc IA-64 FPSR Status Field 2, Precision contr

Strany 109 - =1, =2, =4, and =8

B-4 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lldtd IA-32 Local Descriptor Table Descriptorlid IA-64

Strany 110

Copyright © 2000 Hewlett-Packard Co. Register Names B-5Ski IA-64 Simulator Reference Manual 1.0Lpsr.tb IA-64 PSR Taken Branch trap bitpsr.um IA-64 PSR

Komentáře k této Příručce

Žádné komentáře