binutils-gdb/gdb/testsuite
Andrew Stubbs 16026cd75d 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
	(source_script): New function.
	(source_verbose_cleanup): New function.
	(source_command): Move old contents to source_script.
	Make function static. Parse -v option and call source_script.
	(init_cli_cmds): Update source command help.
	Add 'set trace-commands' command.
	* cli/cli-script.c (command_next_depth): New static variable.
	(suppress_next_print_command_trace): New static variable.
	(reset_command_nest_depth): New function.
	(print_command_trace): New function.
	(execute_control_command): Split the continue_control and break_control
	cases, add calls to print_command_trace and count the nest depth.
	(while_command): Set suppress_next_print_command_trace.
	(if_command): Likewise.
	* top.c (execute_command): Call print_command_trace.
	* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
	(source_command): Change to source_script.
	* main.c (captued_main): Use source_script instead of source_command.
	* top.h (source_command): Change to source_script.
	* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
	* cli/cli-script.h (print_command_trace): Export.
	(reset_command_nest_depth): Likewise.

docs/
	* gdb.texinfo (Optional warnings and messages): Add
	'set/show trace-commands'.
	(Command files): Add '-v' to source command.

testsuite/
	* gdb.base/default.exp: Update source command error message.
	* gdb.base/help.exp: Update 'help source' message.
2006-07-21 14:46:56 +00:00
..
config
gdb.ada
gdb.arch * blockframe.c (find_pc_partial_function): Use the minimal symbol 2006-07-19 02:17:23 +00:00
gdb.asm
gdb.base 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com> 2006-07-21 14:46:56 +00:00
gdb.cp gdb/ 2006-07-20 22:50:07 +00:00
gdb.disasm
gdb.dwarf2 * gdb.base/huge.c: Allow CRASH_GDB to be set from command 2006-07-04 09:40:28 +00:00
gdb.fortran
gdb.gdb
gdb.hp
gdb.java
gdb.mi * gdb.base/break.c: Add 10a breakpoint at } 2006-06-13 08:46:17 +00:00
gdb.objc
gdb.server
gdb.stabs * gdb.stabs/exclfwd.exp: Skip the test if configure did not 2006-06-22 19:50:57 +00:00
gdb.threads * gdb.threads/print-threads.exp: Use gdb_breakpoint. 2006-07-18 19:37:23 +00:00
gdb.trace
lib Revert accidental commit. 2006-06-22 19:17:09 +00:00
.gdbinit
aclocal.m4 gdb/ 2006-06-21 13:57:21 +00:00
ChangeLog 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com> 2006-07-21 14:46:56 +00:00
configure gdb/ 2006-06-21 13:57:21 +00:00
configure.ac gdb/ 2006-06-21 13:57:21 +00:00
Makefile.in gdb/ 2006-06-21 13:57:21 +00:00
TODO