aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.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/monitor.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/monitor.c')
-rw-r--r--gdb/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index 06735dc..c46e2df 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -2281,7 +2281,7 @@ monitor_stop (struct target_ops *self, ptid_t ptid)
ourseleves here cause of a nasty echo. */
static void
-monitor_rcmd (char *command,
+monitor_rcmd (struct target_ops *self, char *command,
struct ui_file *outbuf)
{
char *p;