mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
Implement -trace-save.
* mi-cmds.h (mi_cmds_trace_save): Declare. * mi-cmds.c (mi_cmds): Register -trace-save. * mi/mi-main.c (mi_cmd_trace_save): New. * remote.c (remote_save_trace_data): Take const parameter. * target.h (struct target_ops::to_save_trace_data): Take const parameter. * target.c (update_current_target): Adjust to the above. * tracepoint.c (trave_save): New, extracted from (trace_save_command): ...this. (tfile_trace_find): Remove message that is unnecessary now that 'tfind' reports found frame. * tracepoint.h (trace_save): Declare.
This commit is contained in:
@ -653,7 +653,7 @@ struct target_ops
|
||||
location pointed to by VAL, else returning 0. */
|
||||
int (*to_get_trace_state_variable_value) (int tsv, LONGEST *val);
|
||||
|
||||
int (*to_save_trace_data) (char *filename);
|
||||
int (*to_save_trace_data) (const char *filename);
|
||||
|
||||
int (*to_upload_tracepoints) (struct uploaded_tp **utpp);
|
||||
|
||||
|
Reference in New Issue
Block a user