1.3.154 set substitute-path

Modifies the search paths used by the debugger when it executes any of the commands that look up and display source code. This command is useful when the source files have moved from the original location used during compilation.

Subsequent use of the set substitute-path command appends rules to the current list.


set substitute-path path1 path2



Specifies the existing search path.


Specifies the replacement search path.

Example 1-157 Examples

set substitute-path "\src" "\My Src"         # Substitute "\src" with "\My Src"
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.