You copied the Doc URL to your clipboard.

info frame

This command gives the following information about the selected frame:

  • stack frame address

  • current PC address

  • saved PC address

  • calling frame address

  • source language

  • frame arguments and associated addresses

  • address of the local variables

  • stack pointer address for the previous frame

  • saved registers and associated location.

Note

Each frame is assigned a number that increases from the bottom frame (zero) through the call stack to the top frame that is the start of the application.

Syntax

info frame [number]

Where:

number

Specifies the frame number.

If no arguments are specified then the stack frame information for the current frame pointer is displayed.

Example

info frame 1          # Display information for stack frame 1
info frame            # Display information for stack frame at current location