mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
Add target_ops argument to to_delete_record
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_delete_record>: Add argument. * target.c (target_delete_record): Add argument. * record-full.c (record_full_delete): Add 'self' argument.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* target.h (struct target_ops) <to_delete_record>: Add argument.
|
||||||
|
* target.c (target_delete_record): Add argument.
|
||||||
|
* record-full.c (record_full_delete): Add 'self' argument.
|
||||||
|
|
||||||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* target.h (struct target_ops) <to_save_record>: Add argument.
|
* target.h (struct target_ops) <to_save_record>: Add argument.
|
||||||
|
@ -1817,7 +1817,7 @@ record_full_info (struct target_ops *self)
|
|||||||
/* The "to_record_delete" target method. */
|
/* The "to_record_delete" target method. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
record_full_delete (void)
|
record_full_delete (struct target_ops *self)
|
||||||
{
|
{
|
||||||
record_full_list_release_following (record_full_list);
|
record_full_list_release_following (record_full_list);
|
||||||
}
|
}
|
||||||
|
@ -4331,7 +4331,7 @@ target_delete_record (void)
|
|||||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||||
if (t->to_delete_record != NULL)
|
if (t->to_delete_record != NULL)
|
||||||
{
|
{
|
||||||
t->to_delete_record ();
|
t->to_delete_record (t);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -936,7 +936,7 @@ struct target_ops
|
|||||||
void (*to_save_record) (struct target_ops *, const char *filename);
|
void (*to_save_record) (struct target_ops *, const char *filename);
|
||||||
|
|
||||||
/* Delete the recorded execution trace from the current position onwards. */
|
/* Delete the recorded execution trace from the current position onwards. */
|
||||||
void (*to_delete_record) (void);
|
void (*to_delete_record) (struct target_ops *);
|
||||||
|
|
||||||
/* Query if the record target is currently replaying. */
|
/* Query if the record target is currently replaying. */
|
||||||
int (*to_record_is_replaying) (void);
|
int (*to_record_is_replaying) (void);
|
||||||
|
Reference in New Issue
Block a user