]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tramp-frame.h
Update copyright year range in all GDB files
[thirdparty/binutils-gdb.git] / gdb / tramp-frame.h
index eeaf7b551476cb304fbdfc99239ce96fcadff518..6ba0943a04e43c1240da9a10826087bd46bf8afd 100644 (file)
@@ -1,6 +1,6 @@
 /* Signal trampoline unwinder.
 
-   Copyright (C) 2004-2014 Free Software Foundation, Inc.
+   Copyright (C) 2004-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -69,6 +69,13 @@ struct tramp_frame
                struct frame_info *this_frame,
                struct trad_frame_cache *this_cache,
                CORE_ADDR func);
+  /* Return non-zero if the tramp-frame is valid for the PC requested.
+     Adjust the PC to point to the address to check the instruction
+     sequence against if required.  If this is NULL, then the tramp-frame
+     is valid for any PC.  */
+  int (*validate) (const struct tramp_frame *self,
+                  struct frame_info *this_frame,
+                  CORE_ADDR *pc);
 };
 
 void tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,