Sign In
Upload
Manuals
Brands
HP Manuals
Computer Accessories
B1476 68020
HP B1476 68020 Debugger Emulator Manuals
Manuals and User Guides for HP B1476 68020 Debugger Emulator. We have
1
HP B1476 68020 Debugger Emulator manual available for free PDF download: User Manual
HP B1476 68020 User Manual (724 pages)
Debugger/Emulator
Brand:
HP
| Category:
Computer Accessories
| Size: 5.25 MB
Table of Contents
Table of Contents
7
Part 1 Quick Start Guide
25
1 Getting Started with the Graphical Interface
27
Pointer and Cursor Shapes
29
The Graphical Interface at a Glance
29
The Debugger Window
30
Graphical Interface Conventions
32
Mouse Buttons
33
Platform Differences
34
The Demonstration Program
35
The Quick Start Tutorial
35
To Prepare to Run the Debugger
36
To Start the Debugger
37
To Activate Display Area Windows
39
To Run until Main()
40
To Scroll the Code Window
41
To Display a Function
42
To Run until a Line
43
To Edit the Program
44
To Display Init_System() Again
45
To Set a Breakpoint
45
To Run until the Breakpoint
46
To Patch Code Using a Macro
47
To Delete a Single Breakpoint
49
To Delete All Breakpoints
49
To Run until a Stack Level
50
To Step through a Program
50
To Display the Value of a Variable
51
To Step out of a Function
51
To Step over Functions
51
To Change the Value of a Variable
52
To Recall an Entry Buffer Value
53
To Display the Address of a Variable
54
To Break on an Access to a Variable
55
To Use a C Printf Command
56
To Use the Command Line
56
To Turn the Command Line off
57
To Trace Events Following a Procedure Call
58
To See On-Line Help
59
To End the Debugging Session
60
2 Getting Started with the Standard Interface
61
The Standard Interface at a Glance
62
The Quick Start Tutorial
64
Before You Begin
64
The Demonstration Program
64
To Copy the Demonstration Files
65
To Start the Debugger
66
To Enter Commands
67
To Activate Display Area Windows
67
To Display Main()
68
To Display a Subroutine
68
To Set a Breakpoint
69
To Run the Demo Program
69
To Step through the Program
70
To Step over Functions
70
To Delete a Breakpoint
70
To Display Variables in Their Declared Type
71
To Display the Address of a Variable
71
To Use a C Printf Command
72
To Break on an Access to a Variable
72
To Display Blocks of Memory
73
To Monitor Variables
74
To Modify a Variable by Entering a C Expression
74
To End the Debugging Session
75
Part 2 User's Guide
77
3 Entering Debugger Commands
79
To Choose a Pull-Down Menu Item Using the Mouse (Method 1)
83
Using Menus, the Entry Buffer, and Action Keys
83
To Choose a Pull-Down Menu Item Using the Mouse (Method 2)
84
To Choose a Pull-Down Menu Item Using the Keyboard
85
To Choose Pop-Up Menu Items
86
To Copy-And-Paste to the Entry Buffer
87
To Place Values into the Entry Buffer Using the Keyboard
87
To Use Pop-Up Menu Shortcuts
87
To Recall Entry Buffer Values
89
To Copy-And-Paste from the Entry Buffer to the Command Line Entry Area
90
To Edit the Entry Buffer
90
To Use the Entry Buffer
90
To Use the Action Keys
91
To Use Dialog Boxes
92
To Access Help Information
96
Using the Command Line with the Mouse
97
To Turn the Command Line on or off
98
To Enter a Command
99
To Edit the Command Line Using the Command Line Pushbuttons
100
To Edit the Command Line Using the Command Line Pop-Up Menu
101
To Recall Commands
101
To Get Help about the Command Line
102
To Enter Debugger Commands from the Keyboard
103
Using the Command Line with the Keyboard
103
To Edit the Command Line
105
To Recall Commands Using the Command Line Recall Feature
105
To Display the Help Window
106
Debugger Status
108
Viewing Debugger Status
108
CPU Emulated
109
Current Module
109
Indicator Characters
109
Last Breakpoint
110
Trace Status
110
If Pop-Up Menus Don't Pop up
111
4 Loading and Executing Programs
113
Compiling Programs for the Debugger
114
Using a Hewlett-Packard C Cross Compiler
114
Using Microtec Language Tools
116
Loading Programs and Symbols
118
To Specify the Location of C Source Files
118
To Load Programs
119
To Load Programs Only
120
To Load Symbols Only
121
To Append Programs
121
To Specify Demand Loading of Symbols
122
Stepping through and Running Programs
124
To Step through Programs
124
To Step over Functions
125
To Run from the Current PC Address
126
To Run from a Start Address
126
To Run until a Stop (Break) Address
127
Using Breakpoints
129
To Set a Memory Access Breakpoint
129
To Set an Instruction Breakpoint
131
To Set a Breakpoint for a C+ + Object Instance
133
To Set a Breakpoint for Overloaded C+ + Functions
134
To Set a Breakpoint for C+ + Functions in a Class
134
To Clear Selected Breakpoints
135
To Clear All Breakpoints
136
To Display Breakpoint Information
136
To Halt Program Execution on Return to a Stack Level
139
Restarting Programs
140
To Reset the Processor
140
To Reset the Program Counter to the Starting Address
140
To Reset Program Variables
141
Loading a Saved CPU State
142
To Load a Saved CPU State
142
Using the MC68030 Memory Management Unit
144
The Demmuer
144
The Emulator/Analyzer Interface
144
Restrictions When Using the MMU
144
To Enable the MMU
145
Accessing the UNIX Operating System
146
To Fork a UNIX Shell
146
To Execute a UNIX Command
147
Using the Debugger and the Emulator Interface
148
To Start the Emulation Interface from the Debugger
148
Using Simulator and Emulator Debugger Products Together
149
Using the Debugger with the Branch Validator
150
To Unload Branch Validator Data from Program Memory
150
5 Viewing Code and Data
153
Using Symbols
154
To Add a Symbol to the Symbol Table
154
To Display Symbols
155
To Display Symbols in All Modules
156
To Delete a Symbol from the Symbol Table
156
Displaying Screens
158
To Display the High-Level Screen
160
To Display the Assembly Level Screen
160
To Switch between the High-Level and Assembly Screens
160
To Display the Standard I/O Screen
161
To Display the Next Screen (Activate a Screen)
161
Displaying Windows
163
To Change the Active Window
165
To Select the Alternate View of a Window
166
To View Information in the Active Window
167
To View Information in the "More" Lists Mode
168
To Copy Window Contents to a File
169
Displaying C Source Code
170
To Display C Source Code
170
To Find First Occurrence of a String
171
To Find Next Occurrence of a String
171
Displaying Disassembled Assembly Code
173
To Display Assembly Code
173
Displaying Program Context
174
To Set Current Module and Function Scope
174
To Display Current Module and Function
175
To Display Debugger Status
175
To Display Register Contents
176
To Display the Function Calling Chain (Stack Backtrace)
177
To Display All Local Variables of a Function at the Specified Stack (Backtrace) Level
181
To Display the Address of the C+ + Object Invoking a Member Function
182
To Calculate the Value of a C Expression
183
Using Expressions
183
To Display the Value of an Expression or Variable
184
To Display Members of a Structure
185
To Display the Members of a C+ + Class
186
To Display the Values of All Members of a C+ + Object
186
To Monitor Variables
187
To Discontinue Monitoring Specified Variables
188
To Monitor the Value of a Register
188
To Discontinue Monitoring All Variables
189
To Display C+ + Inheritance Relationships
189
To Print Formatted Output to a Window
190
To Print Formatted Output to Journal Windows
190
Viewing Memory Contents
192
To Compare Two Blocks of Memory
192
To Search a Memory Block for a Value
192
To Examine a Memory Area for Invalid Values
193
To Display Memory Contents
194
How Simulated I/O Works
195
Simulated I/O Connections
196
Special Simulated I/O Symbols
197
To Enable Simulated I/O
198
To Disable Simulated I/O
199
To Set the Keyboard I/O Mode to Cooked
199
To Set the Keyboard I/O Mode to Raw
199
To Control Blocking of Reads
200
To Interpret Keyboard Reads as EOF
200
To Redirect I/O
201
To Check Resource Usage
202
To Increase File Resources
203
If Problems Occur When Using Simulated I/O
205
6 Making Trace Measurements
207
The Trace Function
208
To Start a Trace Using the Code Pop-Up Menu
214
To Start a Trace Using the Command Line
214
To Stop a Trace in Progress
215
To Display a Trace
216
To Specify Trace Events
217
To Delete Trace Events
218
To Specify Storage Qualifiers
218
To Specify Trigger Conditions
220
To Halt Program Execution on the Occurrence of a Trigger
221
To Remove a Storage Qualification Term
222
To Remove a Trigger Term
222
To Trace Code Execution before and after Entry into a Function
223
To Trace Data Written to a Variable
223
To Trace Data Written to a Variable and Who Wrote to the Variable
224
To Trace Events Leading up to Writing a Particular Value in a Variable
225
To Execute a Complex Breakpoint Using the Trace Function
226
To Trace Entry to and Exit from Modules
227
If Tracing Is Not Triggered as Expected
229
7 Editing Code and Data
231
Editing Files
232
To Edit Source Code from the Code Window
232
To Edit an Arbitrary File
233
To Edit a File Based on an Address in the Entry Buffer
233
To Edit a File Based on the Current Program Counter
233
Patching Source Code
234
To Change a Variable Using a C Expression
234
To Patch a Line of Code Using a Macro
235
To Patch C Source Code by Inserting Lines
236
To Patch C Source Code by Deleting Lines
236
Editing Memory Contents
238
To Change the Value of One Memory Location
238
To Change the Values of a Block of Memory Interactively
238
To Copy a Block of Memory
239
To Fill a Block of Memory with Values
240
To Compare Two Blocks of Memory
240
To Re-Initialize All Program Variables
241
To Change the Contents of a Register
241
8 Using Macros and Command Files
243
Using Macros
245
To Display the Macro Operations Dialog Box
249
To Define a New Macro Interactively Using the Graphical Interface
249
To Use an Existing Macro as a Template for a New Macro
250
To Define a Macro Interactively Using the Command Line
251
To Define a Macro Outside the Debugger
252
To Edit an Existing Macro
252
To Save Macros
253
To Load Macros
253
If Macros Do Not Load
253
To Call a Macro
254
To Call a Macro from Within an Expression
255
To Call a Macro from Within a Macro
255
To Call a Macro on Execution of a Breakpoint
256
To Call a Macro When Stepping through Programs
258
To Stop a Macro
259
To Display Macro Source Code
259
To Delete a Macro
260
Using Command Files
261
To Record Commands
262
To Place Comments in a Command File
263
To Pause the Debugger
263
To Stop Command Recording
264
To Run a Command File
264
To Set Command File Error Handling
265
To Append Commands to an Existing Command File
266
To Record Commands and Results in a Journal File
266
To Stop Command and Result Recording to a Journal File
267
To Open a File or Device for Read or Write Access
267
To Close the File Associated with a Window Number
268
To Use the Debugger in Batch Mode
269
9 Configuring the Debugger
271
Setting the General Debugger Options
273
To Display the Debugger Options Dialog Box
273
To List the Debugger Options Settings
273
To Specify Whether Command File Commands Are Echoed to the Journal Window
274
To Set Automatic Alignment for Breakpoints and Disassembly
274
To Set Backtrace Display of Bad Stack Frames
275
To Specify Demand Loading of Symbols
276
To Select the Interpretation of Numeric Literals (Decimal/Hexadecimal)
276
To Specify Step Speed
277
Setting the Symbolics Options
278
To Display Symbols in Assembly Code
278
To Display Intermixed C Source and Assembly Code
279
To Enable Parameter Checking in Commands and Macros
279
Setting the Display Options
281
To Specify the Breakpoint Window Display Behavior
281
To Specify the View Window Display Behavior
282
To Specify the Standard I/O Window Display Behavior
282
To Display Half-Bright or Inverse Video Highlights
283
To Display Information a Screen at a Time (More)
283
To Specify Scroll Amount
284
To Store Timing Information When Tracing
284
To Mask Fetches While Tracing
285
Modifying Display Area Windows
286
To Resize or Move the Active Window
286
To Move the Status Window
287
To Define User Screens and Windows
288
To Display User-Defined Screens
289
To Erase Standard I/O and User-Defined Window Contents
289
To Remove User-Defined Screens and Windows
290
Saving and Loading the Debugger Configuration
291
To Save the Current Debugger Configuration
291
To Load a Startup File
292
Setting X Resources
294
To Modify the Debugger's Graphical Interface Resources
296
To Use Customized Scheme Files
300
To Set up Custom Action Keys
302
To Set Initial Recall Buffer Values
303
To Set up Demos or Tutorials
304
10 Configuring the Emulator
307
To Start the Emulator Configuration Dialog Box
309
To Modify a Configuration Section
310
To Store a Configuration
311
To Examine the Emulator Configuration
312
To Change the Configuration Directory Context
312
To Display the Configuration Context
313
To Access Configuration Help Information
313
To Exit the Emulator Configuration Dialog Box
313
To Load a Configuration File
314
To Create or Modify a Configuration File
316
If an Error Occurs When Loading a Configuration File
316
To Store an Emulator Configuration
317
Emulation Monitor
318
Emulator Configuration Items
318
Memory
318
Break Conditions
319
Other Configuration Items
319
To Enter the Monitor after Configuration
320
To Restrict to Real-Time Runs
321
To Enable the Processor Cache Memory
322
To Change the Memory Configuration
323
To Enable One Wait State for Emulation Memory
323
To Enable the MC68030 Memory Management Unit
324
To Select and Configure the Emulation Monitor
325
To Select and Configure the MC68030 Emulation Monitor
325
To Set up Specifications for the Emulation Monitor
326
To Assign Memory Map Terms
332
To Modify the Emulator Pod Configuration
340
To Disable Target System Interrupts
341
To Preset the Interrupt Stack Pointer and Program Counter
341
To Set the Target Memory Access Size
343
To Break the Processor on a Write to ROM
344
To Modify the Debug/Trace Options
344
To Define the Software Breakpoint Vector
345
To Trace Background or Foreground Operation
346
To Configure the Analyzer Clock
347
To Modify the Simulated I/O Configuration
348
To Modify the Interactive Measurement Specification
349
Mapping the Foreground Monitor for Use with the MC68030 MMU
350
To Modify the MMU Mappings to Translate the Monitor Address Space 1:1
351
To Modify a Transparent Translation Register to Map the Monitor Address Space 1:1
352
Part 3 Concept Guide
353
11 Resources and the Graphical Interface
355
A Resource Specification Is a Name and a Value
356
An X Resource Is User-Definable Data
356
Don't Worry, There Are Shortcuts
357
But Wait, There Is Trouble Ahead
358
Class and Instance Apply to Applications as Well
359
Resource Specifications Are Found in Standard Places
360
Loading Order Resolves Conflicts between Files
361
Scheme Files Augment Other X Resource Files
362
The App-Defaults File Documents the Resources You Can Set
362
Scheme Files Continue the Load Sequence for X Resources
364
You Can Create Your Own Scheme Files, if You Choose
364
You Can Force the Debugger's Graphical Interface to Use Certain Schemes
364
Resource Setting - General Procedure
366
Part 4 Reference
369
12 Debugger Commands
371
How Pulldown Menus Map to the Command Line
372
How Popup Menus Map to the Command Line
375
Breakpoint Commands
377
Command Summary
377
Session Control Commands
377
Expression Commands
378
File Commands
378
Memory Commands
379
Program Commands
380
Symbol Commands
380
Trace Commands
381
Window Commands
381
Breakpt Access
382
Breakpt Clear_All
383
Breakpt Delete
385
Breakpt Instr
386
Breakpt Read
388
Breakpt Write
389
Debugger Directory
390
Debugger Execution Display_Status
391
Debugger Execution Environment Fwdcmd
392
Debugger Execution Environment Load_Config
393
Debugger Execution Environment Modify_Config
394
Debugger Execution Io_System
395
Debugger Execution Load_State
398
Debugger Execution Reset_Processor
399
Debugger Host_Shell
400
Debugger Help
402
Debugger Level
403
Debugger Macro Add
404
Debugger Macro Call
407
Debugger Macro Display
408
Debugger Option Command_Echo
409
Debugger Option General
410
Debugger Option List
413
Debugger Option Symbolics
414
Debugger Option Trace
416
Debugger Option View
417
Debugger Pause
420
Debugger Quit
421
Expression C_Expression
423
Expression Display_Value
424
Expression Fprintf
427
Expression Monitor Clear_All
432
Expression Monitor Delete
433
Expression Monitor Value
434
Expression Printf
437
File Command
439
File Error_Command
439
File Journal
441
File Log
442
File Startup
444
File User_Fopen
447
File Window_Close
447
Memory Assign
450
Memory Block_Operation Copy
452
Memory Block_Operation Fill
453
Memory Block_Operation Match
455
Memory Block_Operation Search
457
Memory Block_Operation Test
459
Memory Display
461
Memory Register
463
Memory Unload_Bba
465
Program Context Display
468
Program Context Expand
469
Program Context Set
470
Program Display_Source
471
Program Find_Source Next
472
Program Find_Source Occurrence
473
Program Load
475
Program Pc_Reset
477
Program Run
479
Program Step
482
Program Step over
484
Program Step With_Macro
485
Symbol Add
487
Symbol Browse
490
Symbol Display
491
Symbol Remove
496
Trace Again
498
Trace Demmuer
499
Trace Display
501
Trace Event Clear_All
507
Trace Event Delete
508
Trace Event List
509
Trace Event Specify
510
Trace Event Used_List
514
Trace Halt
515
Trace Storequal
516
Trace Storequal Event
520
Trace Storequal List
522
Trace Storequal None
523
Trace Trigger
524
Trace Trigger Event
528
Trace Trigger List
531
Trace Trigger Never
532
Window Active
533
Window Cursor
535
Window Delete
536
Window Erase
537
Window Screen_On
537
Window Toggle_View
537
Window New
538
Window Resize
541
13 Expressions and Symbols in Debugger Commands
545
Expression Elements
547
Operators
547
Constants
549
Program Symbols
554
Symbols
554
Debugger Symbols
555
Macro Symbols
555
Line Numbers
556
Reserved Symbols
556
Address Ranges
557
Addresses
557
Code Addresses
557
Data and Assembly Level Code Addresses
557
Keywords
559
Forming Expressions
560
Expression Strings
561
Storage Classes
562
Symbolic Referencing
562
Data Types
563
Special Casting
566
Referencing Symbols
567
Scoping Rules
567
Evaluating Symbols
571
Stack References
572
14 Reserved Symbols
575
15 Predefined Macros
579
Break_Info
581
Byte
584
Close
585
Cmd_Forward
586
Dword
588
Error
589
Fgetc
590
Fopen
591
Key_Get
592
Key_Stat
593
Memchr
594
Memclr
595
Memcpy
596
Memset
597
Open
598
Pod_Command
600
Read
602
Reg_Str
603
Showversion
604
Strcat
605
Strchr
606
Strcmp
607
Strcpy
608
Stricmp
609
Strlen
610
Strncmp
611
Until
612
When
613
Word
614
Write
615
16 Debugger Error Messages
617
17 Debugger Versions
635
Version A.05.00
636
Graphical User Interface
636
New Product Number
636
New Reserved Symbols
636
New Predefined Macro
636
Environment Variable Expansion
637
Target Program Function Calls
637
C+ + Support
637
Simulated Interrupts Removed
637
Simulated I/O Changes
637
Support for 68030 with MMU
637
Part 5 Installation Guide
639
18 Installation
641
Installation at a Glance
642
Supplied Interfaces
642
Emulator/Analyzer Compatibility
643
Supplied Filesets
643
Required Hardware and Software
644
To Install Software on an HP 9000 System
644
Step 1. Install the Software
645
Required Hardware and Software
648
To Install the Software on a Sun Sparcsystem
648
Step 1: Install the Software
649
Step 2: Map Your Function Keys
649
To Install the Emulator Hardware
651
To Set up Your Software Environment
652
To Start the X Server
652
To Start HP VUE
653
To Set Environment Variables
654
To Find the Logical Name of Your Emulator
656
To Add an Emulator to the 64700Tab.net File
657
To Add an Emulator to the /Etc/Hosts File
658
To Verify the Software Installation
659
To Remove Software
660
Configuring Terminals for Use with the Debugger
661
To Configure HP Terminals or Bit-Mapped Displays
665
To Configure the DEC VT100 Terminal
667
To Configure the VT220 Terminal
669
To Set the TERM Environment Variable
672
To Set up Control Sequences
673
To Resize a Debugger Window in an X-Window Larger than 24 Lines by 80 Columns
674
To Resize a Debugger Window in a Window Larger than 24 Lines by 80 Columns
675
Advertisement
Advertisement
Related Products
HP B1476 68030
HP B1466
HP Smart Array B140i
HP Compaq Presario,Presario B1217
HP Compaq Presario,Presario B1223
HP Compaq Presario,Presario B1224
HP Compaq Presario,Presario B1242
HP Compaq Presario,Presario B1244
HP Compaq Presario,Presario B1245
HP Compaq Presario,Presario B1273
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