binutils-gdb/gdb/testsuite/gdb.python
Doug Evans 7d74f2446c * NEWS: Mention new python command class gdb.COMMAND_USER.
* cli/cli-cmds.c (show_user): Print error when used on a python
	command.
	(init_cli_cmds): Update documentation strings for "show user" and
	"set/show max-user-call-depth" to clarify that it does not apply to
	python commands.
	* python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
	error check.
	(gdbpy_initialize_commands): Add COMMAND_USER as a constant in
	gdb python api.
	* top.c (execute_command): Only execute a user-defined command as a
	legacy macro if c->user_commands is set.

	doc/
	* gdb.texinfo (Commands In Python): Put example python macro in
	COMMAND_USER category rather than COMMAND_OBSCURE.
	Document gdb.COMMAND_USER.
	(User-defined Commands): Update documentation to clarify
	"set/show max-user-call-depth" and "show user" don't apply to python
	commands.  Update documentation to clarify "help user-defined" may
	also include python commands defined as COMMAND_USER.

	testsuite/
	* gdb.python/py-cmd.exp: Add test to verify that python commands can
	be put in the user-defined category and that the commands appear in
	"help user-defined".
2012-03-01 19:30:25 +00:00
..
lib-types.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
lib-types.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
Makefile.in Introduce gdb.FinishBreakpoint in Python 2011-12-23 17:06:16 +00:00
py-block.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-block.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-breakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-cmd.exp * NEWS: Mention new python command class gdb.COMMAND_USER. 2012-03-01 19:30:25 +00:00
py-error.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-error.py Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events-shlib.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events.c 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> 2012-01-05 13:11:31 +00:00
py-events.exp PR python/12070: 2012-02-17 19:24:27 +00:00
py-events.py PR python/12070: 2012-02-17 19:24:27 +00:00
py-evsignal.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-evthreads.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-evthreads.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint2.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-finish-breakpoint2.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint2.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-finish-breakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-finish-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint.py 2012-01-20 Pedro Alves <palves@redhat.com> 2012-01-20 20:00:14 +00:00
py-frame-inline.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-frame-inline.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-frame.c
py-frame.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-function.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-inferior.c
py-inferior.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-infthread.c
py-infthread.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-mi.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script-gdb.py.in Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-objfile.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-parameter.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-pp-maint.c gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.exp gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.py gdb 2012-01-16 19:44:16 +00:00
py-prettyprint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-prettyprint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prettyprint.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-progspace.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-progspace.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prompt.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-prompt.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-section-script.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-section-script.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-section-script.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared-sl.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-symbol.c PR python/12027: 2012-02-07 19:47:16 +00:00
py-symbol.exp * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests 2012-02-08 19:58:25 +00:00
py-symtab.exp PR python/13599: 2012-02-07 19:42:27 +00:00
py-template.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-template.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-type.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-type.exp PR python/12070: 2012-02-17 19:24:27 +00:00
py-value.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-value.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
python-1.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
python.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
python.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
source1 Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
source2.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00