unset substitute-path (gdb mode only)

Unset a source directory substitution rule.

Syntax

unset substitute-path [from-path]

Parameters

from-path

The path you replaced with the set substitute-path command.

Description

This command unsets a source directory substitution rule. Specify the original path for which you created a substitution rule.

If you do not specify a path, this command unsets all substitution paths.

Example

(idb) 
					  set substitute-path /foo /bar
(idb) 
					  show substitute-path
/foo  ->  /bar
(idb) 
					  unset substitute-path
(idb) 
					  show substitute-path
(idb) 
					  
(idb) 
					  set substitute-path /foo /bar
(idb) 
					  set substitute-path /boo /bip
(idb) 
					  show substitute-path
/boo  ->  /bip
/foo  ->  /bar
(idb) 
					  unset substitute-path /foo
(idb) 
					  show substitute-path
/boo  ->  /bip
(idb) 
					 

See Also


Submit feedback on this help topic