summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-10-17 06:11:22 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-10-17 06:11:22 +0000
commit706d9c897e5a7ac8e644348dbda917057cf3d3a7 (patch)
tree26ec402084249821d5b2ca0e8c5e88c68c59006d /gdb/gdbarch.h
parent51ba09d69f612e79ba2f892ace45f3eef2ce1a73 (diff)
downloadgdb-706d9c897e5a7ac8e644348dbda917057cf3d3a7.tar.gz
Document the get_longjmp_target gdbarch method.
gdb/ChangeLog: * gdbarch.sh (get_longjmp_target): Add method documentation. * gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 5d20ea6d12c..b58efc868e2 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -400,7 +400,10 @@ typedef int (gdbarch_cannot_store_register_ftype) (struct gdbarch *gdbarch, int
extern int gdbarch_cannot_store_register (struct gdbarch *gdbarch, int regnum);
extern void set_gdbarch_cannot_store_register (struct gdbarch *gdbarch, gdbarch_cannot_store_register_ftype *cannot_store_register);
-/* setjmp/longjmp support. */
+/* Determine the address where a longjmp will land and save this address
+ in PC. Return nonzero on success.
+
+ FRAME corresponds to the longjmp frame. */
extern int gdbarch_get_longjmp_target_p (struct gdbarch *gdbarch);