aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2013-04-17 09:39:43 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2014-01-16 13:05:38 +0100
commit0688d04e19c0e6305c1034eb5e97a66458fd805a (patch)
treebe934314a7c9e9afd80c3488d38eb71c8a25a367 /gdb/doc
parent8710b7097e6564969c5e417007a438d8f4ab710e (diff)
downloadgdb-0688d04e19c0e6305c1034eb5e97a66458fd805a.zip
gdb-0688d04e19c0e6305c1034eb5e97a66458fd805a.tar.gz
gdb-0688d04e19c0e6305c1034eb5e97a66458fd805a.tar.bz2
record-btrace: make ranges include begin and end
The "record function-call-history" and "record instruction-history" commands accept a range "begin, end". End is not included in both cases. Include it. 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> * record-btrace.c (record_btrace_insn_history_range): Include end. (record_btrace_insn_history_from): Adjust range. (record_btrace_call_history_range): Include end. (record_btrace_call_history_from): Adjust range. * NEWS: Announce changes. testsuite/ * gdb.btrace/function_call_history.exp: Update tests. * gdb.btrace/instruction_history.exp: Update tests. doc/ * gdb.texinfo (Process Record and Replay): Update documentation.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index f28610b..b873f51 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
+ * gdb.texinfo (Process Record and Replay): Update documentation.
+
+2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
+
* gdb.texinfo (Process Record and Replay): Document new /c
modifier accepted by "record function-call-history".
Add /i modifier to "record function-call-history" example.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 51f1c41..d0f2f71 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6465,7 +6465,7 @@ Disassembles ten more instructions before the last disassembly.
@item record instruction-history @var{begin} @var{end}
Disassembles instructions beginning with instruction number
@var{begin} until instruction number @var{end}. The instruction
-number @var{end} is not included.
+number @var{end} is included.
@end table
This command may not be available for all recording methods.
@@ -6536,8 +6536,7 @@ Prints ten more functions before the last ten-line print.
@item record function-call-history @var{begin} @var{end}
Prints functions beginning with function number @var{begin} until
-function number @var{end}. The function number @var{end} is not
-included.
+function number @var{end}. The function number @var{end} is included.
@end table
This command may not be available for all recording methods.