Examining Machine Code
To enable machine-level support, select Source => Display Machine Code
. With machine code enabled, an additional machine code window shows up, displaying the machine code of the current function.30 By moving the sash at the right of the separating line between source and machine code, you can resize the source and machine code windows.
The machine code window works very much like the source window. You can set, clear, and change breakpoints by selecting the address and pressing a Break
or Clear
button; the usual popup menus are also available. Breakpoints and the current execution position are displayed simultaneously in both source and machine code.
The Lookup
button can be used to look up the machine code for a specific function--or the function for a specific address. Just click on the location in one window and press Lookup
to see the corresponding code in the other window.
If source code is not available, only the machine code window is updated.
You can customize various aspects of the disassembling window. See Customizing Machine Code, for details.
Node:Machine Code Execution, Next:Registers, Previous:Machine Code, Up:Machine-Level Debugging