old-cross-binutils/gdb/testsuite
Vladimir Prus a7bdde9e63 Unify actions and commands
* defs.h (read_command_lines, read_command_lines_1): New
	parameters validator and closure.
	* tracepoint.h (struct action_line): Remove.
	* breakpoint.h (struct breakpoint): Remove the 'actions'
	field.
	* defs.h (enum command_control_type): New value
	while_stepping_control.
	(struct command_line): Add comments.
	* breakpoint.c (breakoint_is_tracepoint): New.
	(breakpoint_set_commands): For tracepoints,
	verify the commands are permissible.
	(check_tracepoint_commands): New.
	(commands_command): Require that each new line is validated using
	check_tracepoint_command, if we set commands for a tracepoint.
	(create_tracepoint_from_upload): Likewise.
	(print_one_breakpoint_location): Remove the code to print
	actions specifically.
	(tracepoint_save_command): Relay to print_command_lines.
	* cli/cli-script.c (process_next_line): New parameters validator
	and closure. Handle 'while-stepping'. Call validator if not null.
	(read_command_lines, read_command_lines1): Likewise.
	(recurse_read_control_structure): New parameters validator and
	closure. Handle while_stepping_control.
	(print_command_lines): Handle while-stepping.
	(get_command_line, define_command, document_command): Adjust.
	* remote.c (remote_download_tracepoint): Adjust.
	* tracepoint.c (make_cleanup_free_actions, read_actions)
	(free_actions, do_free_actions_cleanup): Remove.
	(trace_actions_command): Use read_command_lines.
	(validate_actionline): Use error in one place.
	(encode_actions_1): New, extracted from...
	(encode_actions): ...this. Also use cleanups for exception
	safety.
	(trace_dump_command): Adjust.
	* mi/mi-cmd-break (mi_cmd_break_commands): Validate commands if
	it's tracepoint.
2010-03-23 21:32:28 +00:00
..
config
gdb.ada * gdb.ada/ptype_tagged_param: New testcase. 2010-02-09 13:16:33 +00:00
gdb.arch Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
gdb.asm
gdb.base * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries 2010-03-19 17:57:17 +00:00
gdb.cell Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
gdb.cp 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-15 17:29:36 +00:00
gdb.disasm
gdb.dwarf2 gdb/testsuite/ 2010-03-22 16:53:21 +00:00
gdb.fortran Update the copyright header of most if not all files that have not been 2010-01-01 09:44:07 +00:00
gdb.gdb
gdb.hp
gdb.java * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
gdb.mi ChangeLog: 2010-03-18 13:25:20 +00:00
gdb.modula2
gdb.multi
gdb.objc
gdb.opt
gdb.pascal
gdb.python * gdb.python/Makefile.in (EXECUTABLES): Add py-mi. 2010-03-22 15:32:26 +00:00
gdb.reverse
gdb.server * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename 2010-01-12 00:50:26 +00:00
gdb.stabs gdb/ 2010-01-08 08:55:16 +00:00
gdb.threads * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r. 2010-03-03 22:13:51 +00:00
gdb.trace Unify actions and commands 2010-03-23 21:32:28 +00:00
gdb.xml * gdbtypes.c (append_composite_type_field_raw): New. 2010-03-01 17:19:23 +00:00
lib Unify actions and commands 2010-03-23 21:32:28 +00:00
.gdbinit
aclocal.m4
ChangeLog Unify actions and commands 2010-03-23 21:32:28 +00:00
configure testsuite/ 2010-02-19 17:13:21 +00:00
configure.ac testsuite/ 2010-02-19 17:13:21 +00:00
dg-extract-results.sh gdb/testsuite/ 2010-03-22 20:38:58 +00:00
Makefile.in
TODO