old-cross-binutils/gdb/testsuite/gdb.btrace
Markus Metzger 5de9129b06 record-btrace: start counting at one
The record instruction-history and record-function-call-history commands start
counting instructions at zero.  This is somewhat unintuitive when we start
navigating in the recorded instruction history.  Start at one, instead.

2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>

	* btrace.c (ftrace_new_function): Start counting at one.
	* record-btrace.c (record_btrace_info): Adjust number of calls
	and insns.
	* NEWS: Announce it.

testsuite/
    * gdb.btrace/instruction_history.exp: Update.
    * gdb.btrace/function_call_history.exp: Update.
2014-01-16 12:58:25 +01:00
..
enable.c
enable.exp
function_call_history.c
function_call_history.exp record-btrace: start counting at one 2014-01-16 12:58:25 +01:00
instruction_history.c
instruction_history.exp record-btrace: start counting at one 2014-01-16 12:58:25 +01:00
instruction_history.S
Makefile.in