Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/machine/x86_64/tcf/cpudefs-mdep.c')
-rw-r--r--agent/machine/x86_64/tcf/cpudefs-mdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/machine/x86_64/tcf/cpudefs-mdep.c b/agent/machine/x86_64/tcf/cpudefs-mdep.c
index 47c1dd0f..052c6941 100644
--- a/agent/machine/x86_64/tcf/cpudefs-mdep.c
+++ b/agent/machine/x86_64/tcf/cpudefs-mdep.c
@@ -432,6 +432,8 @@ int mdep_set_other_regs(pid_t pid, REG_SET * data,
#endif
+#if !ENABLE_ExternalStackcrawl
+
#ifndef _WRS_KERNEL
#define JMPD08 0xeb
#define JMPD32 0xe9
@@ -720,6 +722,8 @@ int crawl_stack_frame(StackFrame * frame, StackFrame * down) {
return 0;
}
+#endif /* !ENABLE_ExternalStackcrawl */
+
RegisterDefinition * get_PC_definition(Context * ctx) {
static RegisterDefinition * reg_def = NULL;
if (!context_has_state(ctx)) return NULL;

Back to the top