pop (idb mode only)

Remove frames from the call stack.

Syntax

pop [expr]

Parameters

expr

The number of stack frames to be removed.

Description

This command removes one or more call frames from the call stack.

By default, this command removes one call frame. This command undoes the work already done by the removed execution frames. However, it does not, reverse side effects, such as changes to global variables.

Because it is extremely unlikely this will fix all the effects of a half-executed call, this command is not recommended for general use. Furthermore, the pop command does not provide a way to specify a return value when the frame being discarded corresponds to a function that should return a value. You may need to use the assign command to restore the values of global variables.

Instead of using the pop command, you may want to use the IDB mode return command, which causes the called routine to resume execution and eventually return to the caller.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.