aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-02 18:29:08 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-02 18:29:08 +0000
commit22797942c46da1d57fbf609287ca44b9a4eabdf3 (patch)
treef0cb1d1d1bcac0c1e7d6b2c67a5cde15f5f05e4c /gdb/config
parentd75bc93d66dd0f1b1899ad343853a962c0bbdcb4 (diff)
downloadgdb-22797942c46da1d57fbf609287ca44b9a4eabdf3.zip
gdb-22797942c46da1d57fbf609287ca44b9a4eabdf3.tar.gz
gdb-22797942c46da1d57fbf609287ca44b9a4eabdf3.tar.bz2
* 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.
Diffstat (limited to 'gdb/config')
-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. */