diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/target.c b/gdb/target.c index b20c150..453d7ad 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -4029,16 +4029,7 @@ target_insn_history (int size, int flags) void target_insn_history_from (ULONGEST from, int size, int flags) { - struct target_ops *t; - - for (t = current_target.beneath; t != NULL; t = t->beneath) - if (t->to_insn_history_from != NULL) - { - t->to_insn_history_from (t, from, size, flags); - return; - } - - tcomplain (); + current_target.to_insn_history_from (¤t_target, from, size, flags); } /* See target.h. */ |