diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-23 22:05:46 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-23 22:05:46 +0000 |
commit | 011aacb08ecf70c5d4ad1d6976c32a734846ef79 (patch) | |
tree | ed17fd708b23c3ae519cdc67a69d902f4e5277c6 /gdb/target.h | |
parent | f197e0f1b1c70895aae1395b96d780379ec695ab (diff) | |
download | gdb-011aacb08ecf70c5d4ad1d6976c32a734846ef79.zip gdb-011aacb08ecf70c5d4ad1d6976c32a734846ef79.tar.gz gdb-011aacb08ecf70c5d4ad1d6976c32a734846ef79.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 46f5e7e..9e87440 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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); |