gdb, btrace: Throw an error for empty recordings when replaying starts.
authorFelix Willgerodt <felix.willgerodt@intel.com>
Mon, 9 May 2022 08:12:39 +0000 (10:12 +0200)
committerFelix Willgerodt <felix.willgerodt@intel.com>
Tue, 17 May 2022 10:41:13 +0000 (12:41 +0200)
commit49a73ab9d345e1cd412a93b34a0b8c166603d80e
tree136a0b5295febfdfe57059a019c4977b0f84f267
parented01945057cfdf048bc025f15b410492e12283f6
gdb, btrace: Throw an error for empty recordings when replaying starts.

This makes record_btrace_start_replaying() more consistent, as it already
errors out e.g. on a recording with only gaps.
gdb/record-btrace.c