* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
[deliverable/binutils-gdb.git] / gdb / m68k-tdep.h
index be28d8863912efd590ef76a066b8c1f29faae290..27a7feb24f8a42eaea0e20abe7160001271c5a59 100644 (file)
@@ -31,8 +31,11 @@ enum m68k_regnum
 {
   M68K_D0_REGNUM = 0,
   M68K_D1_REGNUM = 1,
+  M68K_D2_REGNUM = 2,
+  M68K_D7_REGNUM = 7,
   M68K_A0_REGNUM = 8,
   M68K_A1_REGNUM = 9,
+  M68K_A2_REGNUM = 10,
   M68K_FP_REGNUM = 14,         /* Address of executing stack frame.  */
   M68K_SP_REGNUM = 15,         /* Address of top of stack.  */
   M68K_PS_REGNUM = 16,         /* Processor status.  */
@@ -67,10 +70,18 @@ struct gdbarch_tdep
   /* The size of each entry in the jump buffer.  */
   size_t jb_elt_size;
 
+  /* Register in which the address to store a structure value is
+     passed to a function.  */
+  int struct_value_regnum;
+
   /* Convention for returning structures.  */
   enum struct_return struct_return;
 };
 
+/* Initialize a SVR4 architecture variant.  */
+extern void m68k_svr4_init_abi (struct gdbarch_info, struct gdbarch *);
+\f
+
 /* Functions exported from m68kbsd-tdep.c.  */
 
 extern int m68kbsd_fpreg_offset (int regnum);
This page took 0.030379 seconds and 4 git commands to generate.