* configure.tgt: Mark v850 as multi-arched.
[deliverable/binutils-gdb.git] / gdb / i386-tdep.h
index 5c8ed9aacbf3334ac6dfc3d9c64de66836be59cd..0bdbb057e2fa63ba23210b2e39321c064fac48c0 100644 (file)
    differs and is determined by the num_xmm_regs member of `struct
    gdbarch_tdep'.  */
 
+/* ABI variants that we know about.  */
+enum i386_abi
+{
+  I386_ABI_UNKNOWN = 0,
+
+  /* ELF */
+  I386_ABI_SVR4,               /* This is the default.  */
+  I386_ABI_NETBSD,
+  I386_ABI_LINUX,
+  I386_ABI_HURD,
+  I386_ABI_SOLARIS,
+  I386_ABI_FREEBSD,
+
+  I386_ABI_INVALID = -1
+};
+
 /* i386 architecture specific information.  */
 struct gdbarch_tdep
 {
+  /* ABI.  */
+  enum i386_abi abi;
+
   /* Number of SSE registers.  */
   int num_xmm_regs;
 };
@@ -110,4 +129,8 @@ struct gdbarch_tdep
 #define IS_FPU_CTRL_REGNUM(n) FPC_REGNUM_P (n)
 #define IS_SSE_REGNUM(n) SSE_REGNUM_P (n)
 
+void i386_gdbarch_register_os_abi (enum i386_abi,
+                                  void (*init_abi)(struct gdbarch_info,
+                                                   struct gdbarch *));
+
 #endif /* i386-tdep.h */
This page took 0.02476 seconds and 4 git commands to generate.