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:
Tom Tromey
2013-12-18 20:22:36 -07:00
parent 3679abfabc
commit 05969c841a
4 changed files with 26 additions and 11 deletions

View File

@@ -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 (&current_target, insn);
}
/* See target.h. */