Document the get_longjmp_target gdbarch method.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 17 Oct 2013 06:11:22 +0000 (06:11 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 17 Oct 2013 06:11:22 +0000 (06:11 +0000)
gdb/ChangeLog:

        * gdbarch.sh (get_longjmp_target): Add method documentation.
        * gdbarch.h: Regenerate.

gdb/ChangeLog
gdb/gdbarch.h
gdb/gdbarch.sh

index 6ae91ee751d5e3d078b3a167f6b82130b5c6728e..300993571fe435160c36dc26377924b78603e4ab 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh (get_longjmp_target): Add method documentation.
+       * gdbarch.h: Regenerate.
+
 2013-10-16  Tom Tromey  <tromey@redhat.com>
 
        * dbxread.c (read_dbx_symtab) <bss_ext_symbol>: Remove unused
index 5d20ea6d12cec6b45b350e02f442a1055a1c51d2..b58efc868e2575d081f7f9abf34f6c03b3679a10 100644 (file)
@@ -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);
 
index 5e4678814437f47ad32fb4591eb4fb38d513c95a..644718d5b4e1e1eb4ad792c54d2c7026a1be7d2a 100755 (executable)
@@ -486,8 +486,13 @@ M:void:print_vector_info:struct ui_file *file, struct frame_info *frame, const c
 m:int:register_sim_regno:int reg_nr:reg_nr::legacy_register_sim_regno::0
 m:int:cannot_fetch_register:int regnum:regnum::cannot_register_not::0
 m:int:cannot_store_register:int regnum:regnum::cannot_register_not::0
-# 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.
 F:int:get_longjmp_target:struct frame_info *frame, CORE_ADDR *pc:frame, pc
+
 #
 v:int:believe_pcc_promotion:::::::
 #
This page took 0.033073 seconds and 4 git commands to generate.