mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Add target_ops argument to to_supports_string_tracing
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_supports_string_tracing>: Add argument. (target_supports_string_tracing): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_string_tracing): Add 'self' argument.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* target.h (struct target_ops) <to_supports_string_tracing>: Add
|
||||||
|
argument.
|
||||||
|
(target_supports_string_tracing): Add argument.
|
||||||
|
* target.c (update_current_target): Update.
|
||||||
|
* remote.c (remote_supports_string_tracing): Add 'self' argument.
|
||||||
|
|
||||||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* target.h (struct target_ops)
|
* target.h (struct target_ops)
|
||||||
|
@ -10298,7 +10298,7 @@ remote_supports_enable_disable_tracepoint (struct target_ops *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
remote_supports_string_tracing (void)
|
remote_supports_string_tracing (struct target_ops *self)
|
||||||
{
|
{
|
||||||
struct remote_state *rs = get_remote_state ();
|
struct remote_state *rs = get_remote_state ();
|
||||||
|
|
||||||
|
@ -846,7 +846,7 @@ update_current_target (void)
|
|||||||
(int (*) (struct target_ops *))
|
(int (*) (struct target_ops *))
|
||||||
return_zero);
|
return_zero);
|
||||||
de_fault (to_supports_string_tracing,
|
de_fault (to_supports_string_tracing,
|
||||||
(int (*) (void))
|
(int (*) (struct target_ops *))
|
||||||
return_zero);
|
return_zero);
|
||||||
de_fault (to_trace_init,
|
de_fault (to_trace_init,
|
||||||
(void (*) (void))
|
(void (*) (void))
|
||||||
|
@ -682,7 +682,7 @@ struct target_ops
|
|||||||
int (*to_supports_disable_randomization) (struct target_ops *);
|
int (*to_supports_disable_randomization) (struct target_ops *);
|
||||||
|
|
||||||
/* Does this target support the tracenz bytecode for string collection? */
|
/* Does this target support the tracenz bytecode for string collection? */
|
||||||
int (*to_supports_string_tracing) (void);
|
int (*to_supports_string_tracing) (struct target_ops *);
|
||||||
|
|
||||||
/* Does this target support evaluation of breakpoint conditions on its
|
/* Does this target support evaluation of breakpoint conditions on its
|
||||||
end? */
|
end? */
|
||||||
@ -1117,7 +1117,7 @@ int target_supports_disable_randomization (void);
|
|||||||
(*current_target.to_supports_enable_disable_tracepoint) (¤t_target)
|
(*current_target.to_supports_enable_disable_tracepoint) (¤t_target)
|
||||||
|
|
||||||
#define target_supports_string_tracing() \
|
#define target_supports_string_tracing() \
|
||||||
(*current_target.to_supports_string_tracing) ()
|
(*current_target.to_supports_string_tracing) (¤t_target)
|
||||||
|
|
||||||
/* Returns true if this target can handle breakpoint conditions
|
/* Returns true if this target can handle breakpoint conditions
|
||||||
on its end. */
|
on its end. */
|
||||||
|
Reference in New Issue
Block a user