forked from Imagelibrary/binutils-gdb
btrace: Enable auxiliary instructions in record function-call-history.
Print the auxiliary data when a btrace_insn of type BTRACE_INSN_AUX is encountered in the function-call-history. Printing is active by default, it can be silenced with the /a modifier. This patch is in preparation for the new ptwrite feature, which is based on auxiliary instructions. Approved-By: Markus Metzger <markus.t.metzger@intel.com> Reviewed-By: Eli Zaretskii <eliz@gnu.org>
This commit is contained in:
@@ -105,7 +105,11 @@ enum btrace_function_flag
|
||||
|
||||
/* The 'up' link points to a tail call. This obviously only makes sense
|
||||
if bfun_up_links_to_ret is clear. */
|
||||
BFUN_UP_LINKS_TO_TAILCALL = (1 << 1)
|
||||
BFUN_UP_LINKS_TO_TAILCALL = (1 << 1),
|
||||
|
||||
/* Indicates that at least one auxiliary instruction is in the current
|
||||
function segment. */
|
||||
BFUN_CONTAINS_AUX = (1 << 2)
|
||||
};
|
||||
DEF_ENUM_FLAGS_TYPE (enum btrace_function_flag, btrace_function_flags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user