* gcore.c (create_gcore_bfd): Make 'filename' const.
* gcore.h (create_gcore_bfd): Make 'filename' const. * record-full.c (record_full_save): Make 'recfilename' const. * target.c (target_save_record): Make 'filename' const. * target.h (struct target_ops) <to_save_record>: Make 'filename' const. (target_save_record): Likewise.
This commit is contained in:
parent
152af37f7f
commit
85e1311a3c
6 changed files with 17 additions and 7 deletions
|
@ -892,7 +892,7 @@ struct target_ops
|
|||
void (*to_info_record) (void);
|
||||
|
||||
/* Save the recorded execution trace into a file. */
|
||||
void (*to_save_record) (char *filename);
|
||||
void (*to_save_record) (const char *filename);
|
||||
|
||||
/* Delete the recorded execution trace from the current position onwards. */
|
||||
void (*to_delete_record) (void);
|
||||
|
@ -2008,7 +2008,7 @@ extern void target_stop_recording (void);
|
|||
extern void target_info_record (void);
|
||||
|
||||
/* See to_save_record in struct target_ops. */
|
||||
extern void target_save_record (char *filename);
|
||||
extern void target_save_record (const char *filename);
|
||||
|
||||
/* Query if the target supports deleting the execution log. */
|
||||
extern int target_supports_delete_record (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue