aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:34:48 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:56 -0700
commit1aac633be67ac452b4e8948362549f8760a19af0 (patch)
tree594094722119f3c1022f3c4b910a5aebdf397ff6 /gdb/remote.c
parent1eab8a48bf928ab7337833c785ec1316edbdbc8a (diff)
downloadgdb-1aac633be67ac452b4e8948362549f8760a19af0.zip
gdb-1aac633be67ac452b4e8948362549f8760a19af0.tar.gz
gdb-1aac633be67ac452b4e8948362549f8760a19af0.tar.bz2
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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 35f4297..0a80502 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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 ();