info locals (gdb mode only)

Print local variables of the selected function.

Syntax

info locals

Parameters

None.

Description

This command prints the local variables of the selected function, each on a separate line. These variables are all declared as either static or automatic, and are accessible at the point of execution of the selected frame.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.