*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / tramp-frame.h
index 44e266eaab640226a8592b4661b6d41fd91979b5..26d4178e7be2e84a1ea18b7646c3b5359792d80a 100644 (file)
@@ -39,6 +39,10 @@ struct trad_frame_cache;
 
 /* A trampoline descriptor.  */
 
+/* Magic instruction that to mark the end of the signal trampoline
+   instruction sequence.  */
+#define TRAMP_SENTINEL_INSN ((LONGEST) -1)
+
 struct tramp_frame
 {
   /* The trampoline's entire instruction sequence.  Search for this in
@@ -47,7 +51,8 @@ struct tramp_frame
      one INSN_SIZE instruction.  It is also assumed that TRAMP[0]
      contains the first instruction of the trampoline and hence the
      address of the instruction matching TRAMP[0] is the trampoline's
-     "func" address.  */
+     "func" address.  The instruction sequence shall be terminated by
+     TRAMP_SENTINEL_INSN.  */
   int insn_size;
   ULONGEST insn[8];
   /* Initialize a trad-frame cache corresponding to the tramp-frame.
@@ -58,7 +63,7 @@ struct tramp_frame
                CORE_ADDR func);
 };
 
-void tramp_frame_append (struct gdbarch *gdbarch,
-                        const struct tramp_frame *tramp);
+void tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,
+                                  const struct tramp_frame *tramp);
 
 #endif
This page took 0.024689 seconds and 4 git commands to generate.