Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/machine/x86_64/tcf/cpudefs-mdep.h')
-rw-r--r--agent/machine/x86_64/tcf/cpudefs-mdep.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/agent/machine/x86_64/tcf/cpudefs-mdep.h b/agent/machine/x86_64/tcf/cpudefs-mdep.h
index 601010a5..e8df0386 100644
--- a/agent/machine/x86_64/tcf/cpudefs-mdep.h
+++ b/agent/machine/x86_64/tcf/cpudefs-mdep.h
@@ -18,9 +18,14 @@
*/
#ifdef _WRS_KERNEL
-# if CPU_FAMILY == SIMNT || CPU_FAMILY == I80X86
+# if CPU_FAMILY == SIMNT || CPU_FAMILY == I80X86 || CPU_FAMILY == SIMLINUX
+#ifdef _WRS_CONFIG_LP64
+# define __x86_64__ 1
+# define rip pc
+#else
# define __i386__ 1
# define eip pc
+#endif
# undef BREAK_INST
# endif
# include <system/VxWorks/tcf/context-vxworks.h>

Back to the top