forked from Imagelibrary/binutils-gdb
convert to_goto_record
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_goto_record): Unconditionally delegate. * target.h (struct target_ops) <to_goto_record>: Use TARGET_DEFAULT_NORETURN.
This commit is contained in:
11
gdb/target.c
11
gdb/target.c
@@ -3995,16 +3995,7 @@ target_goto_record_end (void)
|
||||
void
|
||||
target_goto_record (ULONGEST insn)
|
||||
{
|
||||
struct target_ops *t;
|
||||
|
||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||
if (t->to_goto_record != NULL)
|
||||
{
|
||||
t->to_goto_record (t, insn);
|
||||
return;
|
||||
}
|
||||
|
||||
tcomplain ();
|
||||
current_target.to_goto_record (¤t_target, insn);
|
||||
}
|
||||
|
||||
/* See target.h. */
|
||||
|
||||
Reference in New Issue
Block a user