aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:40:25 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:18 -0700
commit46670d57e303c34906cafefb09c250fe8c3c3390 (patch)
tree013bce68448b99a0cc28dd5282cdc5dfd4a8e81c /gdb/remote.c
parent559d2b81f07720cc7d28ae0c496448c7905db049 (diff)
downloadgdb-46670d57e303c34906cafefb09c250fe8c3c3390.zip
gdb-46670d57e303c34906cafefb09c250fe8c3c3390.tar.gz
gdb-46670d57e303c34906cafefb09c250fe8c3c3390.tar.bz2
Add target_ops argument to to_enable_tracepoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_enable_tracepoint>: Add argument. (target_enable_tracepoint): Add argument. * target.c (update_current_target): Update. * remote.c (remote_enable_tracepoint): 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 8586bbc..0f8acf3 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10625,7 +10625,8 @@ remote_download_trace_state_variable (struct target_ops *self,
}
static void
-remote_enable_tracepoint (struct bp_location *location)
+remote_enable_tracepoint (struct target_ops *self,
+ struct bp_location *location)
{
struct remote_state *rs = get_remote_state ();
char addr_buf[40];