[PATCH v10 10/28] record-btrace: optionally indent function call history

Eli Zaretskii eliz@gnu.org
Tue Jan 14 16:07:00 GMT 2014


> From: Markus Metzger <markus.t.metzger@intel.com>
> Cc: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>
> Date: Tue, 14 Jan 2014 09:04:20 +0100
> 
> Add a new modifier /c to the "record function-call-history" command to
> indent the function name based on its depth in the call stack.

Thanks.

> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -6490,7 +6490,10 @@ line for each sequence of instructions that belong to the same
>  function giving the name of that function, the source lines
>  for this instruction sequence (if the @code{/l} modifier is
>  specified), and the instructions numbers that form the sequence (if
> -the @code{/i} modifier is specified).
> +the @code{/i} modifier is specified).  The function names are indented
> +to reflect the call stack depth if the @code{/c} modifier is
> +specified.  The @code{/l}, @code{/i}, and @code{/c} modifiers can be
> +given at the same time.
         ^^^^^^^^^^^^^^^^
"Together" sounds better than "at the same time".

The documentation parts are OK with that change.



More information about the Gdb-patches mailing list