btrace: Replace struct btrace_function::segment.
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)
commit4aeb0dfcc42acfc108d3f870384d1719adc9569b
tree86ab32777669773fc1631319e29d595303df661d
parenteb8f2b9c44619eecdb3b77da01da910fcf05abed
btrace: Replace struct btrace_function::segment.

This used to hold a pair of pointers to the previous and next function segment
that belong to this function call.  Replace with a pair of indices into the
vector of function segments.
gdb/ChangeLog
gdb/btrace.c
gdb/btrace.h
gdb/python/py-record-btrace.c
gdb/record-btrace.c