MIPS: Add support for microMIPS Linux signal trampolines
[deliverable/binutils-gdb.git] / gdb / tramp-frame.c
index 0fd6ddccc2ffd331af014cac6e465a38c95f16d4..a0e3eb5ebef9dee951e8009a722d12cc0893be07 100644 (file)
@@ -86,6 +86,10 @@ tramp_frame_start (const struct tramp_frame *tramp,
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
   int ti;
 
+  /* Check if we can use this trampoline.  */
+  if (tramp->validate && !tramp->validate (tramp, this_frame, &pc))
+    return 0;
+
   /* Search through the trampoline for one that matches the
      instruction sequence around PC.  */
   for (ti = 0; tramp->insn[ti].bytes != TRAMP_SENTINEL_INSN; ti++)
This page took 0.026313 seconds and 4 git commands to generate.