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

HP 68000 Series User Manual (586 pages)

Debugger/Simulator  
Brand: HP | Category: Computer Accessories | Size: 7.99 MB
Table of contents
Table Of Contents7................................................................................................................................................................
The Graphical Interface At A Glance27................................................................................................................................................................
The Debugger Window28................................................................................................................................................................
Graphical Interface Conventions30................................................................................................................................................................
Mouse Buttons31................................................................................................................................................................
Platform Differences32................................................................................................................................................................
The Quick Start Tutorial33................................................................................................................................................................
To Prepare To Run The Debugger34................................................................................................................................................................
To Start The Debugger35................................................................................................................................................................
To Activate Display Area Windows36................................................................................................................................................................
To Run Until Main()37................................................................................................................................................................
To Scroll The Code Window38................................................................................................................................................................
To Display A Function39................................................................................................................................................................
To Edit The Program41................................................................................................................................................................
To Display Init_system() Again42................................................................................................................................................................
To Run Until The Breakpoint43................................................................................................................................................................
To Patch Code Using A Macro44................................................................................................................................................................
To Delete A Single Breakpoint45................................................................................................................................................................
To Delete All Breakpoints46................................................................................................................................................................
To Step Through A Program47................................................................................................................................................................
To Step Over Functions48................................................................................................................................................................
To Change The Value Of A Variable49................................................................................................................................................................
To Recall An Entry Buffer Value50................................................................................................................................................................
To Display The Address Of A Variable51................................................................................................................................................................
To Break On An Access To A Variable52................................................................................................................................................................
To Use The Command Line53................................................................................................................................................................
To Turn The Command Line Off54................................................................................................................................................................
To See On-line Help55................................................................................................................................................................
To End The Debugging Session56................................................................................................................................................................
Starting The Debugger63................................................................................................................................................................
Using Menus, The Entry Buffer, And Action Keys64................................................................................................................................................................
To Choose A Pull-down Menu Item Using The Keyboard66................................................................................................................................................................
To Choose Pop-up Menu Items67................................................................................................................................................................
To Use Pop-up Menu Shortcuts68................................................................................................................................................................
To Recall Entry Buffer Values70................................................................................................................................................................
To Edit The Entry Buffer71................................................................................................................................................................
To Use The Action Keys72................................................................................................................................................................
To Use Dialog Boxes73................................................................................................................................................................
To Access Help Information77................................................................................................................................................................
Using The Command Line With The Mouse78................................................................................................................................................................
To Turn The Command Line On Or Off79................................................................................................................................................................
To Enter A Command80................................................................................................................................................................
To Edit The Command Line Using The Command Line Pushbuttons81................................................................................................................................................................
To Edit The Command Line Using The Command Line Pop-up Menu82................................................................................................................................................................
To Get Help About The Command Line83................................................................................................................................................................
Using The Command Line With The Keyboard84................................................................................................................................................................
To Edit The Command Line86................................................................................................................................................................
To Display The Help Window87................................................................................................................................................................
Viewing Debugger Status89................................................................................................................................................................
Indicator Characters90................................................................................................................................................................
To Display Information About The Debugger Version91................................................................................................................................................................
Solving Problems With The Interface92................................................................................................................................................................
3 Loading And Executing Programs93................................................................................................................................................................
Compiling Programs For The Debugger94................................................................................................................................................................
Using A Hewlett-packard C Cross Compiler95................................................................................................................................................................
Using Microtec Language Tools97................................................................................................................................................................
Loading Programs And Symbols100................................................................................................................................................................
To Load Programs101................................................................................................................................................................
To Load Program Code Only102................................................................................................................................................................
To Load Symbols Only103................................................................................................................................................................
To Load Additional Programs104................................................................................................................................................................
To Turn Demand Loading Of Symbols On Or Off105................................................................................................................................................................
Stepping Through And Running Programs106................................................................................................................................................................
To Run From The Current Program Counter (pc) Address108................................................................................................................................................................
To Run Until A Stop (break) Address109................................................................................................................................................................
To Count Simulated Clock Cycles110................................................................................................................................................................
To Add Simulated Wait States111................................................................................................................................................................
Using Breakpoints112................................................................................................................................................................
To Set An Instruction Breakpoint113................................................................................................................................................................
To Set A Breakpoint For A C+ + Object Instance114................................................................................................................................................................
To Set A Breakpoint For Overloaded C115................................................................................................................................................................
To Clear Selected Breakpoints116................................................................................................................................................................
To Clear All Breakpoints117................................................................................................................................................................
To Display Breakpoint Information118................................................................................................................................................................
To Halt Program Execution On Return To A Stack Level121................................................................................................................................................................
Using Simulated Interrupts122................................................................................................................................................................
To Remove Simulated Interrupts123................................................................................................................................................................
Restarting Programs124................................................................................................................................................................
To Reset Program Variables125................................................................................................................................................................
Saving And Loading The Cpu State126................................................................................................................................................................
Mapping Memory127................................................................................................................................................................
To Allow Access To Memory Locations128................................................................................................................................................................
Accessing Input Ports130................................................................................................................................................................
To Delete An Input Port131................................................................................................................................................................
To Display Input Port Buffer Values132................................................................................................................................................................
Accessing Output Ports133................................................................................................................................................................
To Delete An Output Port134................................................................................................................................................................
To Display Output Port Buffer Values135................................................................................................................................................................
Accessing The Unix Operating System136................................................................................................................................................................
To Execute A Unix Command137................................................................................................................................................................
Using Simulator And Emulator Debugger Products Together138................................................................................................................................................................
Using The Debugger With The Branch Validator139................................................................................................................................................................
4 Viewing Code And Data141................................................................................................................................................................
Using Symbols142................................................................................................................................................................
To Display Symbols143................................................................................................................................................................
To Display Symbols In All Modules144................................................................................................................................................................
Displaying Screens146................................................................................................................................................................
To Display The High-level Screen148................................................................................................................................................................
To Display The Standard I/o Screen149................................................................................................................................................................
Displaying Windows151................................................................................................................................................................
To Change The Active Window153................................................................................................................................................................
To Select The Alternate View Of A Window154................................................................................................................................................................
To View Information In The Active Window155................................................................................................................................................................
To View Information In The "more" Lists Mode156................................................................................................................................................................
To Copy Window Contents To A File157................................................................................................................................................................
To View Commands In A Separate Window158................................................................................................................................................................
Displaying C Source Code159................................................................................................................................................................
To Find First Occurrence Of A String160................................................................................................................................................................
Displaying Disassembled Assembly Code162................................................................................................................................................................
Displaying Program Context163................................................................................................................................................................
To Display Current Module And Function164................................................................................................................................................................
To Display Register Contents165................................................................................................................................................................
To List All Registers167................................................................................................................................................................
To Display The Function Calling Chain (stack Backtrace)168................................................................................................................................................................
To Display All Local Variables Of A Function At The Specified Stack (backtrace Level171................................................................................................................................................................
To Display The Address Of The C+ + Object Invoking A Member Function172................................................................................................................................................................
Using Expressions173................................................................................................................................................................
To Display The Value Of An Expression Or Variable174................................................................................................................................................................
To Display Members Of A Structure175................................................................................................................................................................
To Display The Members Of A C176................................................................................................................................................................
To Monitor Variables177................................................................................................................................................................
To Monitor The Value Of A Register178................................................................................................................................................................
To Discontinue Monitoring All Variables179................................................................................................................................................................
To Print Formatted Output To A Window180................................................................................................................................................................
Viewing Memory Contents182................................................................................................................................................................
To Examine A Memory Area For Invalid Values183................................................................................................................................................................
To Display Memory Contents184................................................................................................................................................................
Using Simulated I/o185................................................................................................................................................................
How Simulated I/o Works186................................................................................................................................................................
Special Simulated I/o Symbols188................................................................................................................................................................
To Disable Simulated I/o189................................................................................................................................................................
To Set The Keyboard I/o Mode To Raw190................................................................................................................................................................
To Interpret Keyboard Reads As Eof191................................................................................................................................................................
To Check Resource Usage193................................................................................................................................................................
5 Editing Code And Data195................................................................................................................................................................
Editing Files196................................................................................................................................................................
To Edit An Arbitrary File197................................................................................................................................................................
Patching Source Code198................................................................................................................................................................
To Patch A Line Of Code Using A Macro199................................................................................................................................................................
To Patch C Source Code By Inserting Lines200................................................................................................................................................................
Editing Memory Contents202................................................................................................................................................................
To Copy A Block Of Memory203................................................................................................................................................................
To Fill A Block Of Memory With Values204................................................................................................................................................................
To Re-initialize All Program Variables205................................................................................................................................................................
Using Macros209................................................................................................................................................................
To Display The Macro Operations Dialog Box213................................................................................................................................................................
To Use An Existing Macro As A Template For A New Macro214................................................................................................................................................................
To Define A Macro Interactively Using The Command Line215................................................................................................................................................................
To Define A Macro Outside The Debugger216................................................................................................................................................................
To Save Macros217................................................................................................................................................................
To Call A Macro From Within An Expression219................................................................................................................................................................
To Call A Macro On Execution Of A Breakpoint220................................................................................................................................................................
To Call A Macro When Stepping Through Programs222................................................................................................................................................................
To Display Macro Source Code223................................................................................................................................................................
To Delete A Macro224................................................................................................................................................................
Using Command Files225................................................................................................................................................................
To Record Commands226................................................................................................................................................................
To Place Comments In A Command File227................................................................................................................................................................
To Stop Command Recording228................................................................................................................................................................
To Set Command File Error Handling229................................................................................................................................................................
To Append Commands To An Existing Command File230................................................................................................................................................................
To Stop Command And Result Recording To A Journal File231................................................................................................................................................................
To Close The File Associated With A Window Number232................................................................................................................................................................
To Use The Debugger In Batch Mode233................................................................................................................................................................
7 Configuring The Debugger235................................................................................................................................................................
Setting The General Debugger Options237................................................................................................................................................................
To Specify Whether Command File Commands Are Echoed To The Journal Window238................................................................................................................................................................
To Set Backtrace Display Of Bad Stack Frames239................................................................................................................................................................
To Select The Interpretation Of Numeric Literals (decimal/hexadecimal)240................................................................................................................................................................
To Specify Exception Processing Behavior241................................................................................................................................................................
To Specify Step Speed242................................................................................................................................................................
Setting The Symbolics Options243................................................................................................................................................................
To Convert Module Names To Upper Case244................................................................................................................................................................
Setting The Display Options245................................................................................................................................................................
To Display Half-bright Or Inverse Video Highlights246................................................................................................................................................................
To Specify Scroll Amount247................................................................................................................................................................
Modifying Display Area Windows248................................................................................................................................................................
To Move The Status Window (standard Interface Only)249................................................................................................................................................................
To Define User Screens And Windows250................................................................................................................................................................
To Display User-defined Screens251................................................................................................................................................................
To Erase Standard I/o And User-defined Window Contents252................................................................................................................................................................
Saving And Loading The Debugger Configuration254................................................................................................................................................................
To Load A Startup File255................................................................................................................................................................
Setting X Resources256................................................................................................................................................................
To Modify The Debugger's Graphical Interface Resources258................................................................................................................................................................
To Use Customized Scheme Files262................................................................................................................................................................
To Set Up Custom Action Keys264................................................................................................................................................................
To Set Initial Recall Buffer Values265................................................................................................................................................................
Part 3 Concept Guide267................................................................................................................................................................
8 X Resources And The Graphical Interface269................................................................................................................................................................
An X Resource Is User-definable Data270................................................................................................................................................................
Don't Worry, There Are Shortcuts271................................................................................................................................................................
But Wait, There Is Trouble Ahead272................................................................................................................................................................
Class And Instance Apply To Applications As Well273................................................................................................................................................................
Resource Specifications Are Found In Standard Places274................................................................................................................................................................
Loading Order Resolves Conflicts Between Files275................................................................................................................................................................
The App-defaults File Documents The Resources You Can Set276................................................................................................................................................................
You Can Create Your Own Scheme Files, If You Choose277................................................................................................................................................................
You Can Force The Debugger's Graphical Interface To Use Certain Schemes278................................................................................................................................................................
Resource Setting - General Procedure280................................................................................................................................................................
Part 4 Reference281................................................................................................................................................................
9 Debugger Commands283................................................................................................................................................................
Command Summary284................................................................................................................................................................
Expression Commands285................................................................................................................................................................
Memory Commands286................................................................................................................................................................
Program Commands287................................................................................................................................................................
Window Commands288................................................................................................................................................................
Breakpt Access289................................................................................................................................................................
Breakpt Clear_all291................................................................................................................................................................
Breakpt Delete292................................................................................................................................................................
Breakpt Erase293................................................................................................................................................................
Breakpt Instr294................................................................................................................................................................
Breakpt Read296................................................................................................................................................................
Breakpt Write297................................................................................................................................................................
Debugger Directory298................................................................................................................................................................
Debugger Execution Display_status299................................................................................................................................................................
Debugger Execution Io_system300................................................................................................................................................................
Debugger Execution Load_state303................................................................................................................................................................
Debugger Execution Reset_processor304................................................................................................................................................................
Debugger Execution Save_state305................................................................................................................................................................
Debugger Host_shell306................................................................................................................................................................
Debugger Help308................................................................................................................................................................
Debugger Level309................................................................................................................................................................
Debugger Macro Add310................................................................................................................................................................
Debugger Macro Call313................................................................................................................................................................
Debugger Macro Display314................................................................................................................................................................
Debugger Option Command_echo315................................................................................................................................................................
Debugger Option General316................................................................................................................................................................
Debugger Option List320................................................................................................................................................................
Debugger Option Symbolics321................................................................................................................................................................
Debugger Option View324................................................................................................................................................................
Debugger Pause327................................................................................................................................................................
Debugger Quit328................................................................................................................................................................
Expression C_expression329................................................................................................................................................................
Expression Display_value330................................................................................................................................................................
Expression Fprintf333................................................................................................................................................................
Expression Monitor Clear_all338................................................................................................................................................................
Expression Monitor Delete339................................................................................................................................................................
Expression Monitor Value340................................................................................................................................................................
Expression Printf343................................................................................................................................................................
File Command345................................................................................................................................................................
File Error_command346................................................................................................................................................................
File Journal347................................................................................................................................................................
File Log349................................................................................................................................................................
File Startup351................................................................................................................................................................
File User_fopen353................................................................................................................................................................
File Window_close355................................................................................................................................................................
Memory Assign356................................................................................................................................................................
Memory Block_operation Copy358................................................................................................................................................................
Memory Block_operation Fill359................................................................................................................................................................
Memory Block_operation Match361................................................................................................................................................................
Memory Block_operation Search363................................................................................................................................................................
Memory Block_operation Test365................................................................................................................................................................
Memory Display367................................................................................................................................................................
Memory Hex369................................................................................................................................................................
Memory Inport Assign370................................................................................................................................................................
Memory Inport Delete373................................................................................................................................................................
Memory Inport Rewind374................................................................................................................................................................
Memory Inport Show375................................................................................................................................................................
Memory Map Guarded376................................................................................................................................................................
Memory Map Read_only377................................................................................................................................................................
Memory Map Show378................................................................................................................................................................
Memory Map Write_read379................................................................................................................................................................
Memory Outport Assign380................................................................................................................................................................
Memory Outport Delete383................................................................................................................................................................
Memory Outport Rewind384................................................................................................................................................................
Memory Outport Show385................................................................................................................................................................
Memory Register386................................................................................................................................................................
Memory Unload_bba388................................................................................................................................................................
Program Context Display391................................................................................................................................................................
Program Context Expand392................................................................................................................................................................
Program Context Set393................................................................................................................................................................
Program Display_source394................................................................................................................................................................
Program Find_source Next395................................................................................................................................................................
Program Find_source Occurrence396................................................................................................................................................................
Program Interrupt Add398................................................................................................................................................................
Program Interrupt Remove400................................................................................................................................................................
Program Load401................................................................................................................................................................
Program Pc_reset404................................................................................................................................................................
Program Run405................................................................................................................................................................
Program Step408................................................................................................................................................................
Program Step Over410................................................................................................................................................................
Program Step With_macro412................................................................................................................................................................
Symbol Add413................................................................................................................................................................
Symbol Browse416................................................................................................................................................................
Symbol Display417................................................................................................................................................................
Symbol Remove422................................................................................................................................................................
Window Active424................................................................................................................................................................
Window Cursor426................................................................................................................................................................
Window Delete427................................................................................................................................................................
Window Erase428................................................................................................................................................................
Window New429................................................................................................................................................................
Window Resize432................................................................................................................................................................
Window Screen_on433................................................................................................................................................................
Window Toggle_view434................................................................................................................................................................
10 Expressions And Symbols In Debugger Commands437................................................................................................................................................................
Expression Elements439................................................................................................................................................................
Constants441................................................................................................................................................................
Symbols446................................................................................................................................................................
Debugger Symbols447................................................................................................................................................................
Reserved Symbols448................................................................................................................................................................
Addresses449................................................................................................................................................................
Keywords451................................................................................................................................................................
Forming Expressions452................................................................................................................................................................
Expression Strings453................................................................................................................................................................
Symbolic Referencing454................................................................................................................................................................
Data Types455................................................................................................................................................................
Special Casting458................................................................................................................................................................
Scoping Rules459................................................................................................................................................................
Evaluating Symbols463................................................................................................................................................................
Stack References464................................................................................................................................................................
11 Predefined Macros467................................................................................................................................................................
Break_info470................................................................................................................................................................
Byte472................................................................................................................................................................
Close473................................................................................................................................................................
Dword474................................................................................................................................................................
Error475................................................................................................................................................................
Fgetc476................................................................................................................................................................
Fopen477................................................................................................................................................................
Getsym478................................................................................................................................................................
Inport479................................................................................................................................................................
Isalive480................................................................................................................................................................
Key_get481................................................................................................................................................................
Key_stat482................................................................................................................................................................
Memchr483................................................................................................................................................................
Memclr484................................................................................................................................................................
Memcpy485................................................................................................................................................................
Memset486................................................................................................................................................................
Open487................................................................................................................................................................
Outport489................................................................................................................................................................
Read490................................................................................................................................................................
Reg_str491................................................................................................................................................................
Showversion492................................................................................................................................................................
Strcat493................................................................................................................................................................
Strchr494................................................................................................................................................................
Strcmp495................................................................................................................................................................
Strcpy496................................................................................................................................................................
Stricmp497................................................................................................................................................................
Strlen498................................................................................................................................................................
Strncmp499................................................................................................................................................................
Until500................................................................................................................................................................
When501................................................................................................................................................................
Word502................................................................................................................................................................
Write503................................................................................................................................................................
Version C.06.20526................................................................................................................................................................
Version C.05.20527................................................................................................................................................................
Version C.05.10528................................................................................................................................................................
Part 5 Installation Guide531................................................................................................................................................................
14 Installation533................................................................................................................................................................
Installation At A Glance534................................................................................................................................................................
Supplied Filesets535................................................................................................................................................................
To Install Software On An Hp 9000 System536................................................................................................................................................................
Step 1. Install The Software537................................................................................................................................................................
To Install The Software On A Sun Sparcsystem539................................................................................................................................................................
Step 1: Install The Software540................................................................................................................................................................
To Set Up Your Software Environment542................................................................................................................................................................
To Set Environment Variables544................................................................................................................................................................
To Verify The Software Installation546................................................................................................................................................................

Advertising

Share and save

Advertising