delete display (gdb mode only)

Delete the specified items from the automatic display list.

Syntax

delete display [ ID … ]

Parameters

ID

The ID of the item to delete from the automatic display list.

Description

This command deletes the specified items from the automatic display list. If you do not specify ID, the debugger deletes the entire automatic display list.

This command is equivalent to undisplay.

The debugger includes an automatic display list, which prints the value of an expression each time the debuggee stops. For more information, see the display command.

To add an expression or address to the automatic display list, use the display command.

To disable or enable an item in the automatic display list, use the disable display or the enable display command.

To show the expressions currently in the automatic display list, use the info display command.

Example

(idb)  display other_glob1
1: other_glob1 = 0
(idb)  display global_thing
2: global_thing = 99
(idb)  break main
Breakpoint 1 at 0x8048427: file /site/c_code/hello.c, line 18.
(idb)  run
Starting program: /site/c_code/hello
 
Breakpoint 1, main () at /site/c_code/hello.c:18
18        float local_thing = 1.5;
2: global_thing = 99
1: other_glob1 = 0
(idb)  undisplay 1 
(idb)  next
19        pid_t my_pid = -1;
1: global_thing = 99
(idb) 

See Also


Submit feedback on this help topic

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