Sign In
Upload
Manuals
Brands
HP Manuals
Computer Accessories
68000 Series
HP 68000 Series Manuals
Manuals and User Guides for HP 68000 Series. We have
1
HP 68000 Series manual available for free PDF download: User Manual
HP 68000 Series User Manual (586 pages)
Debugger/Simulator
Brand:
HP
| Category:
Computer Accessories
| Size: 7.99 MB
Table of Contents
Table of Contents
7
Part 1 Quick Start Guide
23
1 Getting Started with the Graphical Interface
25
Pointer and Cursor Shapes
27
The Graphical Interface at a Glance
27
The Debugger Window
28
Graphical Interface Conventions
30
Mouse Buttons
31
Platform Differences
32
The Demonstration Program
33
The Quick Start Tutorial
33
To Prepare to Run the Debugger
34
To Start the Debugger
35
To Activate Display Area Windows
36
To Run until Main()
37
To Scroll the Code Window
38
To Display a Function
39
To Run until a Line
40
To Edit the Program
41
To Display Init_System() Again
42
To Set a Breakpoint
42
To Run until the Breakpoint
43
To Patch Code Using a Macro
44
To Delete a Single Breakpoint
45
To Delete All Breakpoints
46
To Run until a Stack Level
47
To Step through a Program
47
To Display the Value of a Variable
48
To Step out of a Function
48
To Step over Functions
48
To Change the Value of a Variable
49
To Recall an Entry Buffer Value
50
To Display the Address of a Variable
51
To Break on an Access to a Variable
52
To Use a C Printf Command
53
To Use the Command Line
53
To Turn the Command Line off
54
To See On-Line Help
55
To End the Debugging Session
56
Part 2 User's Guide
57
2 Entering Debugger Commands
59
Starting the Debugger
63
To Choose a Pull-Down Menu Item Using the Mouse (Method 1)
64
Using Menus, the Entry Buffer, and Action Keys
64
To Choose a Pull-Down Menu Item Using the Mouse (Method 2)
65
To Choose a Pull-Down Menu Item Using the Keyboard
66
To Choose Pop-Up Menu Items
67
To Copy-And-Paste to the Entry Buffer
68
To Place Values into the Entry Buffer Using the Keyboard
68
To Use Pop-Up Menu Shortcuts
68
To Recall Entry Buffer Values
70
To Copy-And-Paste from the Entry Buffer to the Command Line Entry Area
71
To Edit the Entry Buffer
71
To Use the Entry Buffer
71
To Use the Action Keys
72
To Use Dialog Boxes
73
To Access Help Information
77
Using the Command Line with the Mouse
78
To Turn the Command Line on or off
79
To Enter a Command
80
To Edit the Command Line Using the Command Line Pushbuttons
81
To Edit the Command Line Using the Command Line Pop-Up Menu
82
To Recall Commands
82
To Find Commands Which Duplicate a Menu Selection
83
To Get Help about the Command Line
83
To Enter Debugger Commands from the Keyboard
84
Using the Command Line with the Keyboard
84
To Edit the Command Line
86
To Recall Commands Using the Command Line Recall Feature
86
To Display the Help Window
87
Debugger Status
89
Viewing Debugger Status
89
CPU Simulated
90
Current Module
90
Indicator Characters
90
Last Breakpoint
90
To Display Information about the Debugger Version
91
If Pop-Up Menus Don't Pop up
92
Solving Problems with the Interface
92
3 Loading and Executing Programs
93
Compiling Programs for the Debugger
94
Writing Programs for Simulation
94
68020 Module Support - CALLM and RTM
94
Using a Hewlett-Packard C Cross Compiler
95
Using Microtec Language Tools
97
Loading Programs and Symbols
100
To Specify the Location of C Source Files
100
To Load Programs
101
To Load Program Code Only
102
To Load Symbols Only
103
To Load Additional Programs
104
To Turn Demand Loading of Symbols on or off
105
Stepping through and Running Programs
106
To Step through Programs
106
To Step over Functions
107
To Run from a Start Address
108
To Run from the Current Program Counter (PC) Address
108
To Run until a Stop (Break) Address
109
To Count Simulated Clock Cycles
110
To Add Simulated Wait States
111
To Set a Memory Access Breakpoint
112
Using Breakpoints
112
To Set an Instruction Breakpoint
113
To Set a Breakpoint for a C+ + Object Instance
114
To Set a Breakpoint for C+ + Functions in a Class
115
To Set a Breakpoint for Overloaded C+ + Functions
115
To Clear Selected Breakpoints
116
To Clear All Breakpoints
117
To Display Breakpoint Information
118
To Halt Program Execution on Return to a Stack Level
121
To Define Simulated Interrupts
122
Using Simulated Interrupts
122
To Remove Simulated Interrupts
123
Restarting Programs
124
To Reset the Processor
124
To Reset the Program Counter to the Starting Address
124
To Reset Program Variables
125
Saving and Loading the CPU State
126
To Save the Current CPU State
126
Mapping Memory
127
To Prevent Access to Memory Locations
127
To Prevent Writing to Memory Locations
127
To Allow Access to Memory Locations
128
To Display Current Memory Map Assignments
128
Accessing Input Ports
130
To Set or Alter Input Port Status
130
To Delete an Input Port
131
To Rewind the Input File Associated with an Input Port
131
To Display Input Port Buffer Values
132
Accessing Output Ports
133
To Set or Alter Output Port Status
133
To Delete an Output Port
134
To Rewind the Output File Associated with an Output Port
134
To Display Output Port Buffer Values
135
Accessing the UNIX Operating System
136
To Fork a UNIX Shell
136
To Execute a UNIX Command
137
Using Simulator and Emulator Debugger Products Together
138
Using the Debugger with the Branch Validator
139
To Unload Branch Validator Data from Program Memory
139
4 Viewing Code and Data
141
To Add a Symbol to the Symbol Table
142
Using Symbols
142
To Display Symbols
143
To Delete a Symbol from the Symbol Table
144
To Display Symbols in All Modules
144
Displaying Screens
146
To Display the Assembly Level Screen
148
To Display the High-Level Screen
148
To Switch between the High-Level and Assembly Screens
148
To Display the Next Screen (Activate a Screen)
149
To Display the Standard I/O Screen
149
Displaying Windows
151
To Change the Active Window
153
To Select the Alternate View of a Window
154
To View Information in the Active Window
155
To View Information in the "More" Lists Mode
156
To Copy Window Contents to a File
157
To View Commands in a Separate Window
158
Displaying C Source Code
159
To Display C Source Code
159
To Find First Occurrence of a String
160
To Find Next Occurrence of a String
160
Displaying Disassembled Assembly Code
162
To Display Assembly Code
162
Displaying Program Context
163
To Set Current Module and Function Scope
163
To Display Current Module and Function
164
To Display Debugger Status
164
To Display Register Contents
165
To List All Registers
167
To Display the Function Calling Chain (Stack Backtrace)
168
To Display All Local Variables of a Function at the Specified Stack (Backtrace) Level
171
To Display the Address of the C+ + Object Invoking a Member Function
172
To Calculate the Value of a C Expression
173
Using Expressions
173
To Display the Value of an Expression or Variable
174
To Display Members of a Structure
175
To Display the Members of a C+ + Class
176
To Display the Values of All Members of a C+ + Object
176
To Monitor Variables
177
To Discontinue Monitoring Specified Variables
178
To Monitor the Value of a Register
178
To Discontinue Monitoring All Variables
179
To Display C+ + Inheritance Relationships
179
To Print Formatted Output to a Window
180
To Print Formatted Output to Journal Windows
180
To Compare Two Blocks of Memory
182
To Search a Memory Block for a Value
182
Viewing Memory Contents
182
To Examine a Memory Area for Invalid Values
183
To Display Memory Contents
184
Using Simulated I/O
185
How Simulated I/O Works
186
Simulated I/O Connections
186
Special Simulated I/O Symbols
188
To Enable Simulated I/O
188
To Disable Simulated I/O
189
To Set the Keyboard I/O Mode to Cooked
189
To Set the Keyboard I/O Mode to Raw
190
To Control Blocking of Reads
190
To Interpret Keyboard Reads as EOF
191
To Redirect I/O
191
To Check Resource Usage
193
To Increase I/O File Resources
193
5 Editing Code and Data
195
Editing Files
196
To Edit Source Code from the Code Window
196
To Edit a File Based on an Address in the Entry Buffer
197
To Edit a File Based on the Current Program Counter
197
To Edit an Arbitrary File
197
Patching Source Code
198
To Change a Variable Using a C Expression
198
To Patch a Line of Code Using a Macro
199
To Patch C Source Code by Deleting Lines
200
To Patch C Source Code by Inserting Lines
200
Editing Memory Contents
202
To Change the Value of One Memory Location
202
To Change the Values of a Block of Memory Interactively
202
To Copy a Block of Memory
203
To Compare Two Blocks of Memory
204
To Fill a Block of Memory with Values
204
To Change the Contents of a Register
205
To Re-Initialize All Program Variables
205
6 Using Macros and Command Files
207
Using Macros
209
To Display the Macro Operations Dialog Box
213
To Define a New Macro Interactively Using the Graphical Interface
213
To Use an Existing Macro as a Template for a New Macro
214
To Define a Macro Interactively Using the Command Line
215
To Define a Macro Outside the Debugger
216
To Edit an Existing Macro
216
To Save Macros
217
To Load Macros
217
If Macros Do Not Load
217
To Call a Macro
218
To Call a Macro from Within an Expression
219
To Call a Macro from Within a Macro
219
To Call a Macro on Execution of a Breakpoint
220
To Call a Macro When Stepping through Programs
222
To Stop a Macro
223
To Display Macro Source Code
223
To Delete a Macro
224
Using Command Files
225
To Record Commands
226
To Place Comments in a Command File
227
To Pause the Debugger
227
To Stop Command Recording
228
To Run a Command File
228
To Set Command File Error Handling
229
To Append Commands to an Existing Command File
230
To Record Commands and Results in a Journal File
230
To Stop Command and Result Recording to a Journal File
231
To Open a File or Device for Read or Write Access
231
To Close the File Associated with a Window Number
232
To Use the Debugger in Batch Mode
233
7 Configuring the Debugger
235
Setting the General Debugger Options
237
To Display the Debugger Options Dialog Box
237
To List the Debugger Options Settings
237
To Change Debugger Options Settings
237
To Set Automatic Alignment for Breakpoints and Disassembly
238
To Specify Whether Command File Commands Are Echoed to the Journal Window
238
To Select the Microprocessor Simulated
239
To Set Backtrace Display of Bad Stack Frames
239
To Specify Demand Loading of Symbols
239
To Select the Interpretation of Numeric Literals (Decimal/Hexadecimal)
240
To Specify Exception Processing Behavior
241
To Specify Step Speed
242
Setting the Symbolics Options
243
To Display Intermixed C Source and Assembly Code
243
To Display Symbols in Assembly Code
243
To Control Case Sensitivity of Symbol Lookups
244
To Convert Module Names to Upper Case
244
Setting the Display Options
245
To Specify the Breakpoint Window Display Behavior
245
To Specify the Breakpoint, Status, or Simulated I/O Window Display Behavior
245
To Display Half-Bright or Inverse Video Highlights
246
To Turn Display Paging on or off (More)
246
To Specify Scroll Amount
247
Modifying Display Area Windows
248
To Resize or Move the Active Window
248
To Move the Status Window (Standard Interface Only)
249
To Define User Screens and Windows
250
To Display User-Defined Screens
251
To Erase Standard I/O and User-Defined Window Contents
252
To Remove User-Defined Screens and Windows
252
Saving and Loading the Debugger Configuration
254
To Save the Current Debugger Configuration
254
To Load a Startup File
255
Setting X Resources
256
Where Resources Are Defined
256
To Modify the Debugger's Graphical Interface Resources
258
To Use Customized Scheme Files
262
To Set up Custom Action Keys
264
To Set Initial Recall Buffer Values
265
Part 3 Concept Guide
267
8 Resources and the Graphical Interface
269
A Resource Specification Is a Name and a Value
270
An X Resource Is User-Definable Data
270
Don't Worry, There Are Shortcuts
271
But Wait, There Is Trouble Ahead
272
Class and Instance Apply to Applications as Well
273
Resource Specifications Are Found in Standard Places
274
Loading Order Resolves Conflicts between Files
275
Scheme Files Augment Other X Resource Files
276
The App-Defaults File Documents the Resources You Can Set
276
Scheme Files Continue the Load Sequence for X Resources
277
You Can Create Your Own Scheme Files, if You Choose
277
You Can Force the Debugger's Graphical Interface to Use Certain Schemes
278
Resource Setting - General Procedure
280
Part 4 Reference
281
9 Debugger Commands
283
Breakpoint Commands
284
Command Summary
284
Session Control Commands
284
Command
285
Expression Commands
285
File Commands
285
Memory Commands
286
Program Commands
287
Symbol Commands
287
Window Commands
288
Breakpt Access
289
Breakpt Clear_All
290
Breakpt Delete
292
Breakpt Erase
293
Breakpt Instr
294
Breakpt Read
296
Breakpt Write
297
Debugger Directory
298
Debugger Execution Display_Status
299
Debugger Execution Io_System
300
Debugger Execution Load_State
303
Debugger Execution Reset_Processor
304
Debugger Execution Save_State
305
Debugger Host_Shell
306
Debugger Help
308
Debugger Level
309
Debugger Macro Add
310
Debugger Macro Call
313
Debugger Macro Display
314
Debugger Option Command_Echo
315
Debugger Option General
316
Debugger Option List
320
Debugger Option Symbolics
321
Debugger Option View
324
Debugger Pause
327
Debugger Quit
328
Expression C_Expression
329
Expression Display_Value
330
Expression Fprintf
333
Expression Monitor Clear_All
338
Expression Monitor Delete
339
Expression Monitor Value
340
Expression Printf
343
File Command
345
File Error_Command
345
File Journal
347
File Log
349
File Startup
351
File User_Fopen
353
File Window_Close
353
Memory Assign
356
Memory Block_Operation Copy
358
Memory Block_Operation Fill
359
Memory Block_Operation Match
361
Memory Block_Operation Search
363
Memory Block_Operation Test
365
Memory Display
367
Memory Hex
369
Memory Inport Assign
370
Memory Inport Delete
373
Memory Inport Rewind
374
Memory Inport Show
375
Memory Map Guarded
376
Memory Map Read_Only
376
Memory Map Show
378
Memory Map Write_Read
379
Memory Outport Assign
380
Memory Outport Delete
383
Memory Outport Rewind
384
Memory Outport Show
385
Memory Register
386
Memory Unload_Bba
388
Program Context Display
391
Program Context Expand
392
Program Context Set
393
Program Display_Source
394
Program Find_Source Next
395
Program Find_Source Occurrence
396
Program Interrupt Add
398
Program Interrupt Remove
400
Program Load
401
Program Pc_Reset
403
Program Run
405
Program Step
408
Program Step over
410
Program Step With_Macro
411
Symbol Add
413
Symbol Browse
416
Symbol Display
417
Symbol Remove
422
Window Active
424
Window Cursor
426
Window Delete
427
Window Erase
428
Window Screen_On
428
Window Toggle_View
428
Window New
429
Window Resize
432
10 Expressions and Symbols in Debugger Commands
437
Expression Elements
439
Operators
439
Constants
441
Program Symbols
446
Symbols
446
Debugger Symbols
447
Macro Symbols
447
Line Numbers
448
Reserved Symbols
448
Address Ranges
449
Addresses
449
Code Addresses
449
Data and Assembly Level Code Addresses
449
Keywords
451
Forming Expressions
452
Expression Strings
453
Storage Classes
454
Symbolic Referencing
454
Data Types
455
Special Casting
458
Referencing Symbols
459
Scoping Rules
459
Evaluating Symbols
463
Stack References
464
11 Predefined Macros
467
Break_Info
469
Byte
472
Close
473
Dword
474
Error
475
Fgetc
476
Fopen
477
Getsym
478
Inport
479
Isalive
480
Key_Get
481
Key_Stat
482
Memchr
483
Memclr
484
Memcpy
485
Memset
486
Open
487
Outport
489
Read
490
Reg_Str
491
Showversion
492
Strcat
493
Strchr
494
Strcmp
495
Strcpy
496
Stricmp
497
Strlen
498
Strncmp
499
Until
500
When
501
Word
502
Write
503
12 Debugger Error Messages
505
13 Debugger Versions
525
Version C.06.20
526
Version C.05.20
527
Version C.05.10
528
Part 5 Installation Guide
531
14 Installation
533
Installation at a Glance
534
Supplied Interfaces
534
Supplied Filesets
535
C Compiler Installation
535
To Install Software on an HP 9000 System
536
Required Hardware and Software
536
Step 1. Install the Software
537
To Install the Software on a Sun Sparcsystem
539
Required Hardware and Software
539
Step 1: Install the Software
540
Step 2: Map Your Function Keys
540
To Set up Your Software Environment
542
To Start the X Server
542
To Start HP VUE
543
To Set Environment Variables
544
To Verify the Software Installation
546
Advertisement
Advertisement
Related Products
HP 680n - JetDirect Print Server
HP Jornada 680
HP Jornada 680e
HP ProDesk 680 G3 MT
HP ProDesk 680 G1 Tower Business
HP ProDesk 680 G4 PCI Microtower Business
HP ProDesk 680 G6 PCI
HP 6820s - Notebook PC
HP 6812B
HP 6825A
HP Categories
Desktop
Laptop
Server
Monitor
Switch
More HP Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL