kill

Kill the current process.

Syntax

kill

Parameters

None.

Description

This command kills the current process, leaving the debugger running. Any breakpoints previously set are retained. Later, you can execute the program again, by using the run command in GDB mode or the rerun command in IDB mode, without loading the debuggee again.

Example

GDB Mode:

(idb) info program
Using the running image of child process 17629.
Program stopped at 0x8051603.
It stopped at breakpoint 1.
(idb) kill
Program exited normally.
(idb) run
Starting program: /home/user/examples/x_list
Breakpoint 1, main () at src/x_list.cxx:182
182 List<Node> nodeList;

IDB Mode:

(idb) show process
Current Process: localhost:17336 (/home/user/examples/x_list)
paused.
(idb) kill
Process has exited
(idb) rerun
[1] stopped at [int main(void):182 0x08051603]
182 List<Node> nodeList;

See Also


Submit feedback on this help topic

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