aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:42:54 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:30 -0700
commit88ee6f45bb74169fea3dd75110e626ece3f11401 (patch)
treef17b03b7898feb038fc3a39e8d0cb4de81139825 /gdb/remote.c
parent181e3713ebe09eb7ee9119d2d214553ed37f5b29 (diff)
downloadgdb-88ee6f45bb74169fea3dd75110e626ece3f11401.zip
gdb-88ee6f45bb74169fea3dd75110e626ece3f11401.tar.gz
gdb-88ee6f45bb74169fea3dd75110e626ece3f11401.tar.bz2
Add target_ops argument to to_get_raw_trace_data
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_get_raw_trace_data>: Add argument. (target_get_raw_trace_data): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_raw_trace_data): Add 'self' argument.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 869a320..d5ce8c1 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10968,7 +10968,8 @@ remote_save_trace_data (struct target_ops *self, const char *filename)
not be unhappy if we don't get as much as we ask for. */
static LONGEST
-remote_get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len)
+remote_get_raw_trace_data (struct target_ops *self,
+ gdb_byte *buf, ULONGEST offset, LONGEST len)
{
struct remote_state *rs = get_remote_state ();
char *reply;