btrace: Use function segment index in call 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)
commitf158f208759703b94dbfc6de2222ae7740420faf
treed0018075f05ed63d7f54083d22b99f73d5a18adb
parent521103fd00e593c08a6bedb619c5a9f8f7cc5a91
btrace: Use function segment index in call iterator.

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