On Fri, Nov 18, 2005 at 02:45:13PM +0000, Andrew STUBBS wrote:
* cli-cmds.c: Include fcntl.h.
(source_command): Use the GDB search path to find script files.
doc/
* gdb.texinfo (Choosing files): Mention that -directory is used
for script files.
(Specifying source directories): Likewise.
(Command files): Explain how script files are found.
Could you explain why you used the source path to search for scripts,
instead of a separate search path? Was it just because it was handy?
Are scripts likely to be in manually-added directories on the source
search path?
I don't see the correspondence.