Add target_ops argument to to_can_run_breakpoint_commands

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_can_run_breakpoint_commands>:
	Add argument.
	(target_can_run_breakpoint_commands): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_can_run_breakpoint_commands): Add 'self'
	argument.
	(remote_insert_breakpoint): Add 'self' argument.
	(remote_insert_hw_breakpoint): Add 'self' argument.
	(remote_can_run_breakpoint_commands): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:38:09 -07:00
parent efcc2da70e
commit 78eff0ec9d
4 changed files with 19 additions and 7 deletions

View file

@ -933,7 +933,7 @@ update_current_target (void)
(int (*) (struct target_ops *))
return_zero);
de_fault (to_can_run_breakpoint_commands,
(int (*) (void))
(int (*) (struct target_ops *))
return_zero);
de_fault (to_use_agent,
(int (*) (int))