aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-go32.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/i386/tm-go32.h')
-rw-r--r--gdb/config/i386/tm-go32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/i386/tm-go32.h b/gdb/config/i386/tm-go32.h
index 024f4fb..b660827 100644
--- a/gdb/config/i386/tm-go32.h
+++ b/gdb/config/i386/tm-go32.h
@@ -45,8 +45,9 @@
#define FRAMELESS_FUNCTION_INVOCATION(FI) \
(frameless_look_for_prologue(FI))
+extern CORE_ADDR i386go32_frame_saved_pc (struct frame_info *frame);
#undef FRAME_SAVED_PC
-#define FRAME_SAVED_PC(FRAME) (read_memory_integer ((FRAME)->frame + 4, 4))
+#define FRAME_SAVED_PC(FRAME) (i386go32_frame_saved_pc ((FRAME)))
/* Support for longjmp. */