aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2013-05-13 14:57:42 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2014-01-16 12:58:25 +0100
commit5de9129b066591c6ef57829ab9e1c2a030de49af (patch)
tree4c5d36f999ab689d3d5a30be795976e28fccb8b0 /gdb/NEWS
parent7acbe13307c209309f1733757b6d5d7a2d9bce9b (diff)
downloadgdb-5de9129b066591c6ef57829ab9e1c2a030de49af.zip
gdb-5de9129b066591c6ef57829ab9e1c2a030de49af.tar.gz
gdb-5de9129b066591c6ef57829ab9e1c2a030de49af.tar.bz2
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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index cb2c535..9b3ae6f 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,10 @@
*** Changes since GDB 7.7
+* The 'record instruction-history' command now starts counting instructions
+ at one. This also affects the instruction ranges reported by the
+ 'record function-call-history' command when given the /i modifier.
+
*** Changes in GDB 7.7
* Improved support for process record-replay and reverse debugging on