diff options
author | Doug Evans <dje@google.com> | 2010-11-05 16:55:40 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-11-05 16:55:40 +0000 |
commit | 99e7ae30ed872f3f81762504c930634c47055b7c (patch) | |
tree | fdd7ee6a246229733a3ea0483e8a5a00d239104f /gdb/doc | |
parent | f4b8a18de7f165283091323b11e9e363dadb8b62 (diff) | |
download | gdb-99e7ae30ed872f3f81762504c930634c47055b7c.zip gdb-99e7ae30ed872f3f81762504c930634c47055b7c.tar.gz gdb-99e7ae30ed872f3f81762504c930634c47055b7c.tar.bz2 |
Make gdb.parameter("directories") work.
New command "set directories".
* NEWS: Document them.
* source.c (set_directories_command): New function.
(show_directories_1): Renamed from show_directories.
All callers updated.
(show_directories_command): New function.
(_initialize_source): Install "directories" as a set/show
variable instead of just a show command.
doc/
* gdb.texinfo (Source Path): Document "set directories".
testsuite/
* gdb.base/help.exp: Update expected output.
* gdb.python/py-parameter.exp: New file.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 63f97ec..7e006ce 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2010-11-05 Doug Evans <dje@google.com> + + * gdb.texinfo (Source Path): Document "set directories". + 2010-11-05 Ken Werner <ken.werner@de.ibm.com> * gdb.texinfo: (Summary) Add mention about OpenCL C language support. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 993b0fb..257ff19 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -6623,6 +6623,11 @@ Reset the source path to its default value (@samp{$cdir:$cwd} on Unix systems). @c RET-repeat for @code{directory} is explicitly disabled, but since @c repeating it would be a no-op we do not say that. (thanks to RMS) +@item set directories @var{path-list} +@kindex set directories +Set the source path to @var{path-list}. +@samp{$cdir:$cwd} are added if missing. + @item show directories @kindex show directories Print the source path: show which directories it contains. |