convert to_insn_history_range
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_insn_history_range): Unconditionally delegate. * target.h (struct target_ops) <to_insn_history_range>: Use TARGET_DEFAULT_NORETURN.
This commit is contained in:
parent
170049d41c
commit
c29302cc8a
4 changed files with 26 additions and 11 deletions
11
gdb/target.c
11
gdb/target.c
|
@ -4046,16 +4046,7 @@ target_insn_history_from (ULONGEST from, int size, int flags)
|
|||
void
|
||||
target_insn_history_range (ULONGEST begin, ULONGEST end, int flags)
|
||||
{
|
||||
struct target_ops *t;
|
||||
|
||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||
if (t->to_insn_history_range != NULL)
|
||||
{
|
||||
t->to_insn_history_range (t, begin, end, flags);
|
||||
return;
|
||||
}
|
||||
|
||||
tcomplain ();
|
||||
current_target.to_insn_history_range (¤t_target, begin, end, flags);
|
||||
}
|
||||
|
||||
/* See target.h. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue