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.
This commit is contained in:
Doug Evans
2010-11-05 16:55:40 +00:00
parent f4b8a18de7
commit 99e7ae30ed
8 changed files with 119 additions and 10 deletions

View File

@ -3,6 +3,10 @@
*** Changes since GDB 7.2
* GDB has a new command: "set directories".
It is like the "dir" command except that it replaces the
source path list instead of augmenting it.
* OpenCL C
Initial support for the OpenCL C language (http://www.khronos.org/opencl)
has been integrated into GDB.
@ -29,6 +33,8 @@
** New commands "info pretty-printers", "enable pretty-printer" and
"disable pretty-printer" have been added.
** gdb.parameter("directories") is now available.
* C++ Improvements:
** GDB now puts template parameters in scope when debugging in an