info frame, info | This command prints a verbose description of the selected |
f | stack frame, including: |
| • the address of the frame |
| • the address of the next frame down (called by this frame) |
| • the address of the next frame up (caller of this frame) |
| • the language in which the source code corresponding to |
| this frame is written |
| • the address of the frame's arguments |
| • the address of the frame's local variables |
| • the program counter saved in it (the address of execution |
| in the caller frame) |
| • which registers were saved in the frame |
| The verbose description is useful when something has gone |
| wrong that has made the stack format fail to fit the usual |
| conventions. |
info frame addr, | Print a verbose description of the frame at address addr, |
info f addr | without selecting that frame. The selected frame remains |
| unchanged by this command. This requires the same kind of |
| address (more than one for some architectures) that you specify |
| in the frame command. See “Selecting a frame” (page 73). |
info args | Print the arguments of the selected frame, each on a separate |
| line. |
info locals | Print the local variables of the selected frame, each on a |
| separate line. These are all variables (declared either static or |
| automatic) accessible at the point of execution of the selected |
| frame. |
info catch | Print a list of all the exception handlers that are active in the |
| current stack frame at the current point of execution. To see |
| other exception handlers, visit the associated frame (using the |
| up, down, or frame commands); then type info catch. See |
|
6.6 Information about a frame | 75 |