idb process (gdb mode only)

Show or specify a process.

Syntax

idb process [ pid-expression | image-name ]

Parameters

pid-expression

 A process ID.

image-name

A binary image file name.

Description

This command shows or specifies a process using the process ID number or the name of the image.

If you do not specify any parameters, the debugger shows the current process.

The debugger sets the context of the current process to the process ID, pid-expression, or the process that runs the named binary image, image-name. If there is more than one process running the same binary image, the debugger warns you and leaves the process context unchanged.

Example

(idb) idb process
There is no current process.
You may start one by using the file' or attach' commands.
(idb) file ~/c_code/hello
Reading symbols from /home/hal/hello...done.
(idb) idb process
>localhost:6121 (/home/hal/hello) loaded.
(idb) detach ~/c_code/hello
(idb) idb process 6121

Submit feedback on this help topic

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