mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-17 16:09:47 +00:00
Add target_ops argument to to_goto_record_end
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_goto_record_end>: Add argument. * target.c (target_goto_record_end): Add argument. * record-full.c (record_full_goto_end): Add 'self' argument. * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
This commit is contained in:
parent
084758178f
commit
307a1b91cc
@ -1,3 +1,10 @@
|
||||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* target.h (struct target_ops) <to_goto_record_end>: Add argument.
|
||||
* target.c (target_goto_record_end): Add argument.
|
||||
* record-full.c (record_full_goto_end): Add 'self' argument.
|
||||
* record-btrace.c (record_btrace_goto_end): Add 'self' argument.
|
||||
|
||||
2014-02-19 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* target.h (struct target_ops) <to_goto_record_begin>: Add
|
||||
|
@ -1818,7 +1818,7 @@ record_btrace_goto_begin (struct target_ops *self)
|
||||
/* The to_goto_record_end method of target record-btrace. */
|
||||
|
||||
static void
|
||||
record_btrace_goto_end (void)
|
||||
record_btrace_goto_end (struct target_ops *ops)
|
||||
{
|
||||
struct thread_info *tp;
|
||||
|
||||
|
@ -1874,7 +1874,7 @@ record_full_goto_begin (struct target_ops *self)
|
||||
/* The "to_goto_record_end" target method. */
|
||||
|
||||
static void
|
||||
record_full_goto_end (void)
|
||||
record_full_goto_end (struct target_ops *self)
|
||||
{
|
||||
struct record_full_entry *p = NULL;
|
||||
|
||||
|
@ -4379,7 +4379,7 @@ target_goto_record_end (void)
|
||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||
if (t->to_goto_record_end != NULL)
|
||||
{
|
||||
t->to_goto_record_end ();
|
||||
t->to_goto_record_end (t);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -945,7 +945,7 @@ struct target_ops
|
||||
void (*to_goto_record_begin) (struct target_ops *);
|
||||
|
||||
/* Go to the end of the execution trace. */
|
||||
void (*to_goto_record_end) (void);
|
||||
void (*to_goto_record_end) (struct target_ops *);
|
||||
|
||||
/* Go to a specific location in the recorded execution trace. */
|
||||
void (*to_goto_record) (ULONGEST insn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user