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.
This commit is contained in:
Tom Tromey
2013-12-17 21:40:25 -07:00
parent 559d2b81f0
commit 46670d57e3
4 changed files with 14 additions and 4 deletions

View File

@@ -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];