mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user