Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-04-23 20:38:30 -0400
committerEugene Tarassov2013-04-23 20:38:30 -0400
commit70522ccca7a3981717e086c7ce71a5a2895c59de (patch)
treedbdb68d8f73a0d19b3390079f0e7520fbaf56d2f
parent5b20ebd457ffb58c39ccc271ee2c7ce52a76ef9d (diff)
downloadorg.eclipse.tcf.agent-70522ccca7a3981717e086c7ce71a5a2895c59de.tar.gz
org.eclipse.tcf.agent-70522ccca7a3981717e086c7ce71a5a2895c59de.tar.xz
org.eclipse.tcf.agent-70522ccca7a3981717e086c7ce71a5a2895c59de.zip
Fixed build error when -m32 option is used on a 64-bit machine
-rw-r--r--agent/machine/x86_64/tcf/regset-mdep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/agent/machine/x86_64/tcf/regset-mdep.h b/agent/machine/x86_64/tcf/regset-mdep.h
index b790e496..986ec9fd 100644
--- a/agent/machine/x86_64/tcf/regset-mdep.h
+++ b/agent/machine/x86_64/tcf/regset-mdep.h
@@ -15,3 +15,9 @@
/* offset to be applied to the PC after a software trap */
#define TRAP_OFFSET -1
+
+#if defined(__i386__)
+/* Building 32-bit agent on a 64-bit machine */
+/* additional CPU registers */
+# define MDEP_OtherRegisters struct user_fpxregs_struct
+#endif

Back to the top