* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
[deliverable/binutils-gdb.git] / gdb / m68k-tdep.h
index bf00cf05a1fb951b1963bbd274a1111c17349d27..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.  */
@@ -49,15 +52,6 @@ enum m68k_regnum
 /* Size of the largest register.  */
 #define M68K_MAX_REGISTER_SIZE 12
 
-struct m68k_sigtramp_info
-{
-  /* Address of sigcontext.  */
-  CORE_ADDR sigcontext_addr;
-
-  /* Offset of registers in `struct sigcontext'.  */
-  int *sc_reg_offset;
-};
-
 /* Convention for returning structures.  */
 
 enum struct_return
@@ -76,13 +70,18 @@ struct gdbarch_tdep
   /* The size of each entry in the jump buffer.  */
   size_t jb_elt_size;
 
-  /* Get info about sigtramp.  */
-  struct m68k_sigtramp_info (*get_sigtramp_info) (struct frame_info *);
+  /* 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.048428 seconds and 4 git commands to generate.