Make gdb.parameter("directories") work.
authorDoug Evans <dje@google.com>
Fri, 5 Nov 2010 16:55:40 +0000 (16:55 +0000)
committerDoug Evans <dje@google.com>
Fri, 5 Nov 2010 16:55:40 +0000 (16:55 +0000)
commit99e7ae30ed872f3f81762504c930634c47055b7c
treefdd7ee6a246229733a3ea0483e8a5a00d239104f
parentf4b8a18de7f165283091323b11e9e363dadb8b62
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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/source.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/help.exp
gdb/testsuite/gdb.python/py-parameter.exp [new file with mode: 0644]