btrace: Use function segment index in insn iterator.
authorTim Wiederhake <tim.wiederhake@intel.com>
Tue, 30 May 2017 10:47:37 +0000 (12:47 +0200)
committerTim Wiederhake <tim.wiederhake@intel.com>
Tue, 30 May 2017 10:49:25 +0000 (12:49 +0200)
commita0f1b963327b9cc349a1e6b4c543a29fbee68fba
treef0ce2f62b4a6eead169d19e36feb9e09b1c53dfc
parentf158f208759703b94dbfc6de2222ae7740420faf
btrace: Use function segment index in insn iterator.

Remove FUNCTION pointer in struct btrace_insn_iterator and use an index into
the list of function segments instead.
gdb/ChangeLog
gdb/btrace.c
gdb/btrace.h
gdb/record-btrace.c