]> Git Repo - binutils.git/blobdiff - gdb/nm-mips.h
updated date
[binutils.git] / gdb / nm-mips.h
index 4a264fef56733593c5bf2082e0aef0183d5953ba..cba5d8d259baff8191abb569e7a3507621d481d4 100644 (file)
@@ -21,3 +21,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
 #define FETCH_INFERIOR_REGISTERS
+
+/* Figure out where the longjmp will land.  We expect that we have just entered
+   longjmp and haven't yet setup the stack frame, so the args are still in the
+   argument regs.  a0 (CALL_ARG0) points at the jmp_buf structure from which we
+   extract the pc (JB_PC) that we will land at.  The pc is copied into ADDR.
+   This routine returns true on success */
+
+#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
This page took 0.025458 seconds and 4 git commands to generate.