HP 3000 Manuals

Displaying Assembly Code [ Symbolic Debugger/iX User's Guide ] MPE/iX 5.0 Documentation


Symbolic Debugger/iX User's Guide

Displaying Assembly Code 

If you didn't use the symbolic debugger option when compiling the
program, you will be debugging in disassembly mode and will see a screen
similar to the one shown in Figure 3-2.  Even if you compiled with the
symbolic debugger option, you can debug in disassembly mode by entering
the td (toggle disassembly) command as follows:

     >td

In disassembly mode, the program is debuggable at the machine instruction
level.  Note that corresponding source-line numbers are displayed along
with the absolute and symbolic address of each instruction.  The values
of all hardware registers are also shown in disassembly mode.  A
highlighted register value indicates its contents were modified by the
last instruction executed.

[]
Figure 3-2. The HP Symbolic Debugger Screen (Disassembly Mode) To return to source mode, enter td again. Disassembly mode can also be used when only parts of your program were compiled with the symbolic debugger option. Libraries linked in with your program are generally not debuggable unless disassembly mode is used, regardless of whether your program was compiled with the symbolic debugger option. Refer to appendix F "Registers Displayed by HP Symbolic Debugger" to see the registers displayed by the debugger in disassembly mode.


MPE/iX 5.0 Documentation