mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Add target_ops argument to to_upload_trace_state_variables
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_upload_trace_state_variables>: Add argument. (target_upload_trace_state_variables): Add argument. * target.c (update_current_target): Update. * remote.c (remote_upload_trace_state_variables): Add 'self' argument. (remote_start_remote): Update.
This commit is contained in:
@ -816,7 +816,8 @@ struct target_ops
|
||||
int (*to_upload_tracepoints) (struct target_ops *,
|
||||
struct uploaded_tp **utpp);
|
||||
|
||||
int (*to_upload_trace_state_variables) (struct uploaded_tsv **utsvp);
|
||||
int (*to_upload_trace_state_variables) (struct target_ops *,
|
||||
struct uploaded_tsv **utsvp);
|
||||
|
||||
LONGEST (*to_get_raw_trace_data) (gdb_byte *buf,
|
||||
ULONGEST offset, LONGEST len);
|
||||
@ -1836,7 +1837,7 @@ extern char *target_fileio_read_stralloc (const char *filename);
|
||||
(*current_target.to_upload_tracepoints) (¤t_target, utpp)
|
||||
|
||||
#define target_upload_trace_state_variables(utsvp) \
|
||||
(*current_target.to_upload_trace_state_variables) (utsvp)
|
||||
(*current_target.to_upload_trace_state_variables) (¤t_target, utsvp)
|
||||
|
||||
#define target_get_raw_trace_data(buf,offset,len) \
|
||||
(*current_target.to_get_raw_trace_data) ((buf), (offset), (len))
|
||||
|
Reference in New Issue
Block a user