up-silently (gdb mode only)

Move a specific number of frames up the stack but do not print them.

Syntax

up-silently [num]

Parameters

num

A numeric expression of non-negative value

Description

This command moves to the stack frame num levels above the current frame. The default value for num is 1. This command is the same as up, except that it does not display the new frame.

If the specified number of levels exceeds the number of active calls on the stack in the specified direction, the debugger issues a warning message and the call frame does not change.

Example

The following example shows the difference between up and up-silently:

(idb)  up
#1  0x0804844c in main () at /site/c_code/hello.c:22
22        j = foo( j );
(idb)  down
#0  0x08048537 in foo (j=10) at /site/c_code/other_glob.c:6
6         return j+10;
(idb)  up-silently
(idb)  list
17      {
18        float local_thing = 1.5;
19        pid_t my_pid = -1;
20        int   j = 10;
21
22        j = foo( j );
23        other_glob1 = 88;
24        other_glob2 = 888;
25        long_thing++;
26        longest_thing++;
(idb) 

See Also


Submit feedback on this help topic

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