* i386-tdep.c (i386go32_frame_saved_pc): New function.

* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
This commit is contained in:
Andrew Cagney
2001-12-02 18:29:08 +00:00
parent d75bc93d66
commit 22797942c4
3 changed files with 14 additions and 1 deletions

View File

@@ -508,6 +508,12 @@ i386_frame_saved_pc (struct frame_info *frame)
return read_memory_unsigned_integer (frame->frame + 4, 4);
}
CORE_ADDR
i386go32_frame_saved_pc (struct frame_info *frame)
{
return read_memory_integer (frame->frame + 4, 4);
}
/* Immediately after a function call, return the saved pc. */
CORE_ADDR