Add directories to the list of source directories.
directory [directory_name1[:…]]
directory_name |
Name of the directory to be prepended to the list of source directories. |
This command deletes or adds directories to the list of source directories that the debugger uses to search for source and script files when opening an executable file.
The debugger maintains a list of source directories that it searches when opening an executable file.
To delete all directories that you have added to the list, use this command without a parameter.
To add one directory to the beginning of the list, specify directory_name.
To add multiple directories to the beginning of the list, specify directory_name separated by a colon (:) or whitespace.
When you specify a directory already in the list, the debugger moves that directory one position up in the list.
To get the full list of directories in the search list, use the show directories command.
(idb) show directories Source directories searched: .:/home/hal/ (idb) (idb) directory aa Source directories searched: aa:.:/home/hal/ (idb) (idb) directory cc:dd Source directories searched: cc:dd:aa:.:/home/hal/ (idb) (idb) directory ee:ff Source directories searched: ee:ff:cc:dd:aa:.:/home/hal/ (idb) (idb) directory aa Source directories searched: aa:ee:ff:cc:dd:.:/home/hal/
Copyright © 2001-2011, Intel Corporation. All rights reserved.