summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
559d2b8)
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.
+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.
+
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_download_trace_state_variable>:
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_download_trace_state_variable>:
-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];
{
struct remote_state *rs = get_remote_state ();
char addr_buf[40];
(void (*) (struct target_ops *, struct trace_state_variable *))
tcomplain);
de_fault (to_enable_tracepoint,
(void (*) (struct target_ops *, struct trace_state_variable *))
tcomplain);
de_fault (to_enable_tracepoint,
- (void (*) (struct bp_location *))
+ (void (*) (struct target_ops *, struct bp_location *))
tcomplain);
de_fault (to_disable_tracepoint,
(void (*) (struct bp_location *))
tcomplain);
de_fault (to_disable_tracepoint,
(void (*) (struct bp_location *))
struct trace_state_variable *tsv);
/* Enable a tracepoint on the target. */
struct trace_state_variable *tsv);
/* Enable a tracepoint on the target. */
- void (*to_enable_tracepoint) (struct bp_location *location);
+ void (*to_enable_tracepoint) (struct target_ops *,
+ struct bp_location *location);
/* Disable a tracepoint on the target. */
void (*to_disable_tracepoint) (struct bp_location *location);
/* Disable a tracepoint on the target. */
void (*to_disable_tracepoint) (struct bp_location *location);
(*current_target.to_download_trace_state_variable) (¤t_target, tsv)
#define target_enable_tracepoint(loc) \
(*current_target.to_download_trace_state_variable) (¤t_target, tsv)
#define target_enable_tracepoint(loc) \
- (*current_target.to_enable_tracepoint) (loc)
+ (*current_target.to_enable_tracepoint) (¤t_target, loc)
#define target_disable_tracepoint(loc) \
(*current_target.to_disable_tracepoint) (loc)
#define target_disable_tracepoint(loc) \
(*current_target.to_disable_tracepoint) (loc)