diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:42:42 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:29 -0700 |
commit | 181e3713ebe09eb7ee9119d2d214553ed37f5b29 (patch) | |
tree | ae514c16b29c797109a81d53accd3e95f3a30717 /gdb/remote.c | |
parent | ab6617cc1b3d544e14fdfb0df0ea21c0a7fcc5f4 (diff) | |
download | gdb-181e3713ebe09eb7ee9119d2d214553ed37f5b29.zip gdb-181e3713ebe09eb7ee9119d2d214553ed37f5b29.tar.gz gdb-181e3713ebe09eb7ee9119d2d214553ed37f5b29.tar.bz2 |
Add target_ops argument to to_upload_trace_state_variables
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_upload_trace_state_variables>:
Add argument.
(target_upload_trace_state_variables): Add argument.
* target.c (update_current_target): Update.
* remote.c (remote_upload_trace_state_variables): Add 'self'
argument.
(remote_start_remote): Update.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index e514a7b..869a320 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -205,7 +205,8 @@ static int remote_get_trace_status (struct target_ops *self, static int remote_upload_tracepoints (struct target_ops *self, struct uploaded_tp **utpp); -static int remote_upload_trace_state_variables (struct uploaded_tsv **utsvp); +static int remote_upload_trace_state_variables (struct target_ops *self, + struct uploaded_tsv **utsvp); static void remote_query_supported (void); @@ -3443,7 +3444,7 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p) { struct uploaded_tsv *uploaded_tsvs = NULL; - remote_upload_trace_state_variables (&uploaded_tsvs); + remote_upload_trace_state_variables (target, &uploaded_tsvs); merge_uploaded_trace_state_variables (&uploaded_tsvs); } @@ -11673,7 +11674,8 @@ remote_upload_tracepoints (struct target_ops *self, struct uploaded_tp **utpp) } static int -remote_upload_trace_state_variables (struct uploaded_tsv **utsvp) +remote_upload_trace_state_variables (struct target_ops *self, + struct uploaded_tsv **utsvp) { struct remote_state *rs = get_remote_state (); char *p; |