[PATCH v9 09/29] record-btrace: start counting at one
Eli Zaretskii
eliz@gnu.org
Thu Dec 19 17:27:00 GMT 2013
> From: Markus Metzger <markus.t.metzger@intel.com>
> Cc: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>
> Date: Thu, 19 Dec 2013 17:44:39 +0100
>
> 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.
>
> CC: Eli Zaretskii <eliz@gnu.org>
>
> 2013-12-19 Markus Metzger <markus.t.metzger@intel.com>
>
> * btrace.c (ftrace_new_function): Start counting at one.
>
> testsuite/
> * gdb.btrace/instruction_history.exp: Update.
> * gdb.btrace/function_call_history.exp: Update.
>
>
> ---
> gdb/NEWS | 4 +
> gdb/btrace.c | 8 +-
> gdb/record-btrace.c | 4 +-
> gdb/testsuite/gdb.btrace/function_call_history.exp | 156 ++++++++++-----------
> gdb/testsuite/gdb.btrace/instruction_history.exp | 67 ++++-----
> 5 files changed, 125 insertions(+), 114 deletions(-)
OK for the NEWS part.
Thanks.
More information about the Gdb-patches
mailing list