Revert call to bfd_cache_close().
[deliverable/binutils-gdb.git] / gdb / i386-tdep.c
index f654d6f3d51df4cbbb39b3a4818498f222f2a184..7477266f433ecabc7ed0633d1bab74f3e7e7fc34 100644 (file)
@@ -365,6 +365,27 @@ i386_frame_chain (struct frame_info *frame)
   return 0;
 }
 
+/* Determine whether the function invocation represented by FRAME does
+   not have a from on the stack associated with it.  If it does not,
+   return non-zero, otherwise return zero.  */
+
+int
+i386_frameless_function_invocation (struct frame_info *frame)
+{
+  if (frame->signal_handler_caller)
+    return 0;
+
+  return frameless_look_for_prologue (frame);
+}
+
+/* Immediately after a function call, return the saved pc.  */
+
+CORE_ADDR
+i386_saved_pc_after_call (struct frame_info *frame)
+{
+  return read_memory_unsigned_integer (read_register (SP_REGNUM), 4);
+}
+
 /* Return number of args passed to a frame.
    Can return -1, meaning no way to tell.  */
 
This page took 0.022292 seconds and 4 git commands to generate.