old-cross-binutils/gdb/cli
Justin Lebar 1bfeeb0f75 2011-10-06 Justin Lebar <justin.lebar@gmail.com>
* Makefile.in: (SFILES): Add skip.c.
	(HFILES_NO_SRCDIR): Add skip.h.
	(COMMON_OBS): Add skip.o.
	* skip.h, skip.c: New.
	* breakpoint.h (set_default_breakpoint): Remove.
	(get_sal_arch): Declare.
	* breakpoint.c: Remove default_breakpoint_valid,
	default_breakpoint_address, default_breakpoint_symtab,
	default_breakpoint_line, default_breakpoint_pspace variables.
	(get_sal_arch): Make public.
	(set_default_breakpoint): Remove.
	(parse_breakpoint_sals, create_breakpoint, clear_command,
	decode_line_spec_1): Remove uses of default_breakpoint variables;
	replaced with function calls into stack.c.
	* cli/cli-cmds.h: Add cmd_list_element *skiplist.
	* cli/cli-cmds.c: Add skiplist.
	(init_cmd_lists): Initialize skiplist.
	(init_cli_cmds): Fix comment (classes of commands appear in
	alphabetical order).
	* infrun.c (handle_inferior_event): Add check that we don't step into
	a function whose pc is marked for skip.
	* stack.c: Declare last_displayed_sal_valid, last_displayed_pspace,
	last_displayed_addr, last_displayed_symtab, last_displayed_line
	variables.
	(set_last_displayed_sal): New static function.
	(print_frame_info): Switch call to set_default_breakpoint to call to
	set_last_displayed_sal.
	(clear_last_displayed_sal, last_displayed_sal_is_valid,
	get_last_displayed_pspace, get_last_displayed_addr,
	get_last_displayed_symtab, get_last_displayed_line,
	get_last_displayed_sal): New public functions.
	* stack.h (clear_last_displayed_sal, last_displayed_sal_is_valid,
	get_last_displayed_pspace, get_last_displayed_addr,
	get_last_displayed_symtab, get_last_displayed_line,
	get_last_displayed_sal): Declare.

2011-10-06  Justin Lebar <justin.lebar@gmail.com>

	Add tests for skip command.
	* testsuite/gdb.base/skip-solib-lib.c: New
	* testsuite/gdb.base/skip-solib-main.c: New
	* testsuite/gdb.base/skip-solib.exp: New
	* testsuite/gdb.base/skip.c: New
	* testsuite/gdb.base/skip.exp: New
	* testsuite/gdb.base/skip1.c: New
	* testsuite/gdb.base/Makefile.in: Adding new files.
2011-11-01 14:51:25 +00:00
..
cli-cmds.c 2011-10-06 Justin Lebar <justin.lebar@gmail.com> 2011-11-01 14:51:25 +00:00
cli-cmds.h 2011-10-06 Justin Lebar <justin.lebar@gmail.com> 2011-11-01 14:51:25 +00:00
cli-decode.c Add new "alias" command. 2011-10-09 22:21:43 +00:00
cli-decode.h 2011-03-11 Michael Snyder <msnyder@vmware.com> 2011-03-12 22:59:24 +00:00
cli-dump.c 2011-07-26 Sterling Augustine <saugustine@google.com> 2011-07-26 21:09:06 +00:00
cli-dump.h * reverse.c: Include cli-utils.h. 2011-02-21 18:13:17 +00:00
cli-interp.c gdb/ 2011-09-12 21:25:22 +00:00
cli-logging.c 2011-08-04 Pedro Alves <pedro@codesourcery.com> 2011-08-04 19:10:14 +00:00
cli-script.c 2011-09-02 Pedro Alves <pedro@codesourcery.com> 2011-09-02 16:56:30 +00:00
cli-script.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-setshow.c 2011-08-04 Pedro Alves <pedro@codesourcery.com> 2011-08-04 19:10:14 +00:00
cli-setshow.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-utils.c * linespec.c (find_methods): Canonicalize NAME before looking 2011-03-16 21:12:12 +00:00
cli-utils.h * linespec.c (find_methods): Canonicalize NAME before looking 2011-03-16 21:12:12 +00:00