idb session save (gdb mode only)

Save a session's debug settings to a file.

Syntax

idb session save [ session_file ]

Parameters

session_file

The name of the session file. If you include a relative path, the path is relative to $sessiondir.

Default: If you do not specify this parameter, the session is stored in $sessiondir/idb_customizations.cmd

Description

This command saves a session's debug settings to a file.

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 saves the session to $sessiondir/lastsession.my.

(idb) idb session save lastsession.my

The following example saves the session to $sessiondir/../test.

(idb) idb session save ../test

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

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

See Also


Submit feedback on this help topic

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