Add target_ops argument to to_rcmd

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

	* target.h (struct target_ops) <to_rcmd>: Add argument.
	(target_rcmd): Add argument.
	* target.c (debug_to_rcmd): Add argument.
	(update_current_target, do_monitor_command): Update.
	* remote.c (remote_rcmd): Add 'self' argument.
	* monitor.c (monitor_rcmd): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:34:48 -07:00
parent 1eab8a48bf
commit 1aac633be6
5 changed files with 20 additions and 9 deletions

View File

@@ -8962,7 +8962,7 @@ remote_search_memory (struct target_ops* ops,
}
static void
remote_rcmd (char *command,
remote_rcmd (struct target_ops *self, char *command,
struct ui_file *outbuf)
{
struct remote_state *rs = get_remote_state ();