mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
Add target_ops argument to to_save_record
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_save_record>: Add argument. * target.c (target_save_record): Add argument. * record-full.c (record_full_save): Add 'self' argument. (record_full_save): Add 'self' argument.
This commit is contained in:
@ -230,7 +230,8 @@ static struct cmd_list_element *record_full_cmdlist;
|
||||
|
||||
static void record_full_goto_insn (struct record_full_entry *entry,
|
||||
enum exec_direction_kind dir);
|
||||
static void record_full_save (const char *recfilename);
|
||||
static void record_full_save (struct target_ops *self,
|
||||
const char *recfilename);
|
||||
|
||||
/* Alloc and free functions for record_full_reg, record_full_mem, and
|
||||
record_full_end entries. */
|
||||
@ -2487,7 +2488,7 @@ record_full_save_cleanups (void *data)
|
||||
format, with an extra section for our data. */
|
||||
|
||||
static void
|
||||
record_full_save (const char *recfilename)
|
||||
record_full_save (struct target_ops *self, const char *recfilename)
|
||||
{
|
||||
struct record_full_entry *cur_record_full_list;
|
||||
uint32_t magic;
|
||||
|
Reference in New Issue
Block a user