Debugging with GDB (September 2007)
Chapter 6: Examining the Stack 55
the same kind of address (more than one for some architectures) that you specify
in the frame command. See Section 6.5 [Selecting a frame], page 53.
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. Thes e
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 typ e info
catch. See Section 5.1.2 [Setting catchpoints], page 37.