record-btrace: start counting at one
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 13 May 2013 12:57:42 +0000 (14:57 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Thu, 16 Jan 2014 11:58:25 +0000 (12:58 +0100)
commit5de9129b066591c6ef57829ab9e1c2a030de49af
tree4c5d36f999ab689d3d5a30be795976e28fccb8b0
parent7acbe13307c209309f1733757b6d5d7a2d9bce9b
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.
gdb/ChangeLog
gdb/NEWS
gdb/btrace.c
gdb/record-btrace.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/function_call_history.exp
gdb/testsuite/gdb.btrace/instruction_history.exp
This page took 0.024714 seconds and 4 git commands to generate.