idb session restore (gdb mode only)

Load a session file to restore a session's debug settings.

Syntax

idb session restore session_file

Parameters

session_file

The name of the session file.

If you do not specify a path, the file is stored in $sessiondir. If you include a relative path, the path is relative to $sessiondir.

Default: idb_customizations.cmd

Description

This command loads a session file to restore a session's debug settings.

If session_file includes an absolute path, the debugger does not use $sessiondir.

Note iconNote

It is recommended that only experienced users use relative paths. Unless you have a specific reason to do otherwise, you should only provide a file name and not a path.

Example

The following example loads the session file $sessiondir/lastsession.my.

(idb) idb session restore lastsession.my

The following example loads the session file $sessiondir/../test.

(idb) idb session restore ../test

The following example uses an absolute path to load the session file /tmp/test.my.

(idb) idb session restore /tmp/test.my

See Also


Submit feedback on this help topic

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