diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2013-04-17 09:39:43 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-16 13:05:38 +0100 |
commit | 0688d04e19c0e6305c1034eb5e97a66458fd805a (patch) | |
tree | be934314a7c9e9afd80c3488d38eb71c8a25a367 /gdb/target.h | |
parent | 8710b7097e6564969c5e417007a438d8f4ab710e (diff) | |
download | gdb-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/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index 37ca302..d0356e1 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -878,7 +878,7 @@ struct target_ops void (*to_insn_history_from) (ULONGEST from, int size, int flags); /* Disassemble a section of the recorded execution trace from instruction - BEGIN (inclusive) to instruction END (exclusive). */ + BEGIN (inclusive) to instruction END (inclusive). */ void (*to_insn_history_range) (ULONGEST begin, ULONGEST end, int flags); /* Print a function trace of the recorded execution trace. @@ -893,7 +893,7 @@ struct target_ops void (*to_call_history_from) (ULONGEST begin, int size, int flags); /* Print a function trace of an execution trace section from function BEGIN - (inclusive) to function END (exclusive). */ + (inclusive) to function END (inclusive). */ void (*to_call_history_range) (ULONGEST begin, ULONGEST end, int flags); /* Nonzero if TARGET_OBJECT_LIBRARIES_SVR4 may be read with a |